Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Move store from folder to root

    I am using godaddy, and orginally setup zencart[which they offer], in (website.com/zencart), we decided to change this so the zencart info will be in the root. (website.com) I went into the config.php file and changed:
    define('DIR_WS_CATALOG', '/zencart/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');
    to
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    I have seen this in Tutorials/FAQs, but it does not appear to work.
    Is there something I am missing? I have changed this in the admin page as well

  2. #2
    Join Date
    Oct 2011
    Location
    AZ
    Posts
    384
    Plugin Contributions
    0

    Default Re: Move zencart from folder to root

    Did you follow all the steps in the tutorial, or just change lines in the config files? Because you also need to physicaly move all those files from website.com/zencart/whatever up one level to website.com/whatever.....

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: Move zencart from folder to root

    Quote Originally Posted by joem83 View Post
    I am using godaddy, and orginally setup zencart[which they offer], in (website.com/zencart), we decided to change this so the zencart info will be in the root. (website.com) I went into the config.php file and changed:
    define('DIR_WS_CATALOG', '/zencart/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');
    to
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    I have seen this in Tutorials/FAQs, but it does not appear to work.
    Is there something I am missing? I have changed this in the admin page as well
    Did you change the file-system and cache folder values in the configure.php files, too? You'll need to edit each of the original configure.php files (remember that the admin file is not the same as the catalog version) and change all occurrences of /zencart/ to /.

  4. #4
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Re: Move zencart from folder to root

    I moved all the files from /zencart to the root of the website, and changed the info in the config file

  5. #5
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Re: Move zencart from folder to root

    file-system and cache folder values ? not sure what you are refering to, don't see this in the config file. I changed
    define('DIR_WS_CATALOG', '/zencart/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');
    to this
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Move zencart from folder to root

    'does not appear to work' doesn't tell us anything. What do you see when you navigate to the site ?

  7. #7
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Re: Move zencart from folder to root

    Found it I missed, define('DIR_FS_CATALOG', 'location');

    Thank to all

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: Move zencart from folder to root

    Close to the bottom of each configure.php file is DIR_FS_SQL_CACHE, which will also need to be changed.

 

 

Similar Threads

  1. Replies: 23
    Last Post: 8 Oct 2014, 05:32 AM
  2. v150 Move from folder to root
    By bluefish1960 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 15 Feb 2012, 12:24 PM
  3. Moving a store to the root directory from a sub-folder
    By Hell Guapo in forum General Questions
    Replies: 3
    Last Post: 21 Sep 2011, 05:51 PM
  4. Replies: 3
    Last Post: 7 Jul 2009, 02:55 PM
  5. Replacing existing site - can I move from /store/ to root?
    By the_doomsayer in forum General Questions
    Replies: 1
    Last Post: 10 Feb 2009, 12:46 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR