Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2005
    Posts
    22
    Plugin Contributions
    0

    Default Can I rename the end cart index.php?

    I need to rename the index.php on an existing Zend Cart store. Is it possible or will there be problems?

  2. #2
    Join Date
    Oct 2006
    Posts
    5,486
    Plugin Contributions
    12

    Default Re: Can I rename the end cart index.php?

    Quote Originally Posted by iface View Post
    I need to rename the index.php on an existing Zend Cart store. Is it possible or will there be problems?
    Will be a problem. Why do you want to do that?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Dec 2005
    Posts
    22
    Plugin Contributions
    0

    Default Re: Can I rename the zen cart index.php?

    Thanks for the help.

    Currently the Zen Cart app is installed on the root web directory. It serves the entire web site.

    Our problem is we now need to add two larger web apps that both have very specific file/path/url structures. Somehow we need to move Zen Cart out of the way, (without destroying it) as it will only be serving a small sub set of the web site.

    Our fist thought was just to rename index.php to store.php. If we can't rename the index file can we move the entire Zen Cart application into a new sub directory? (knowing that the URLs/path with change)

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,974
    Plugin Contributions
    0

    Default Re: Can I rename the end cart index.php?

    Yes, you can move it to a sub directory very quickly and easily (if you use your host account c-panel's MOVE function).

    (I usually use COPY to a sub-directory, rather than MOVE, just to be sure... when I know that the copied version is 100% OK, I DELETE the original install in the root folder.)

    After moving it, you will need only to change PATH references in your two configure.php files that have themselves also been copied/moved.

    BACKUP FIRST ! ! !

  5. #5
    Join Date
    Dec 2005
    Posts
    22
    Plugin Contributions
    0

    Default Re: Can I rename the end cart index.php?

    Hello fairestcape

    Thanks for the help. Moving or copying all the Zen Cart files into a new store directory turns out to be a better solution. It allows us to gather all the files together in a cleaner more organized directory structure.

  6. #6
    Join Date
    Jan 2004
    Posts
    58,275
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Can I rename the end cart index.php?

    FAQ on moving to another folder: http://tutorials.zen-cart.com/index.php?article=122
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. account rename zen cart gone
    By ryanb4614 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 4 Nov 2008, 05:25 AM
  2. How do I Add to Cart on the index page?
    By andy1234 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Feb 2008, 07:26 AM
  3. how do I rename my Zen Cart folder?
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Dec 2007, 02:26 PM
  4. Links to zen cart directory index????
    By mikezuzia in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Jun 2007, 10:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •