Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Changing file structure

    I want to change my site file structure. Currently, my index page is as follows...www.my_site.com/catalog/index.php. I want to remove the catalog directory. I know I need to copy eveything in the catalog directory to the root of my site. But I can not remember what files I need to modify so that all the links continue to work corectly. I think I need to modify admin>includes>configure.php and includes>configure.php. Is this correct and if so what specifically do I mod?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Changing file structure

    A brief tour of the tutorials/FAQ should refresh your memory.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Changing file structure

    Oh Kim,

    Why do you want me to search?? Have I wronged you in some way??

    Found it. Thanks.

  4. #4
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Changing file structure

    Currently, this is how the line reads...define('DIR_WS_CATALOG', '/catalog/');

    Since I am moving everything up in the structure, I need to change this to define('DIR_WS_CATALOG', '/'); correct? Or do I leave out the / also?

  5. #5
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Changing file structure

    And now I am getting an error. When I type in my web address it tries to load /zc_install/index.php. I am getting "page not found' because zc_install no longer exists. I moved that file long ago. Why is it trying to redirect?

    index.php is in my root directory.

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Changing file structure

    any place that you had
    /catalog/
    needs to be changed to /
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Changing file structure

    I made all the changes correctly. The one thing I forgot to do is to change my permissions from 444 to 777. Can't overwrite the file without doing that first.

    Thanks for everyones help.

 

 

Similar Threads

  1. Image file structure
    By freshstart in forum General Questions
    Replies: 4
    Last Post: 8 Jun 2008, 06:38 PM
  2. Contribution File Structure
    By NotGoddess in forum Contribution-Writing Guidelines
    Replies: 7
    Last Post: 16 May 2006, 04:48 AM

Posting Permissions

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