Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2006
    Posts
    188
    Plugin Contributions
    0

    Default Moving ZENCART folder

    Hi,

    I am trying to move my zencart, currently installed in a folder called "catalog". How do I move it to the main name of the website, so that when someone enters www.mywebsite.com, the store will automatically show?

    I read this: http://www.zen-cart.com/forum/faq.ph..._rename_folder, however, it just talks about renaming the folder. Is it possible for me to move the cart to the main page? (ie www.mywebsite.com)?

    In addition, what folder would I rename it to, if I have to rename it?

    Thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Moving ZENCART folder

    You'll need to use your FTP software to move the files up a level to the public_html (or whatever the webspace foldername is ... htdocs, httpdocs, public_html, etc) folder.

    Then you do the file edits as mentioned in the FAQ you quoted or the Wiki docs:

    http://www.zen-cart.com/wiki/index.p...Change_Folders
    http://www.zen-cart.com/wiki/index.p...Switch_Servers
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

  3. #3
    Join Date
    May 2006
    Posts
    188
    Plugin Contributions
    0

    Default Re: Moving ZENCART folder

    Doc,

    when editing the files, what do I replace catalog with?

    for example, for: DIR_WS_CATALOG', '/catalog/' ... what do I put in considering i want the cart on the main page of the website>?

  4. #4
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Moving ZENCART folder

    DIR_WS_CATALOG', '/catalog/'
    becomes

    DIR_WS_CATALOG', '/'

    Vger

  5. #5
    Join Date
    May 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: Moving ZENCART folder

    TurtleDove,

    Another option you can do that will have the same effect would be creating a Apache redirect.

    Example:

    "RedirectMatch permanent ^/$ http://yourdomain.com/catalog/index.php"

    You can put this in the bottom on your .htaccess file without the quotes. Basically what this commands says is that when someone enters your domain name in their web broswer they will be redirected to zencart's index.php file.

  6. #6
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Moving ZENCART folder

    If you do that and the site gets busy then you may hit the maximum number of redirects allowed on that server and have the site fall over because of it.

    Moving to the root is the best option.

    Vger
    Quote Originally Posted by jfully
    TurtleDove,

    Another option you can do that will have the same effect would be creating a Apache redirect.

    Example:

    "RedirectMatch permanent ^/$ http://yourdomain.com/catalog/index.php"

    You can put this in the bottom on your .htaccess file without the quotes. Basically what this commands says is that when someone enters your domain name in their web broswer they will be redirected to zencart's index.php file.

  7. #7
    Join Date
    May 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: Moving ZENCART folder

    That is a good point Vger, moving zencart to the root is definitely the best way to go.

  8. #8
    Join Date
    Dec 2006
    Location
    Victoria, Australia
    Posts
    360
    Plugin Contributions
    0

    Default Re: Moving ZENCART folder

    The other thing that can be done is to create a nice landing page in html.
    Call it index.html and place it in your root directory.
    When you click it it takes you to tyour index.php in the subfolder.
    LIKE THIS


  9. #9
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Moving ZENCART folder

    That has to be one of the worst pieces of advice you could follow.

    When you run an e-commerce website, the objective of which is to sell, you place as few pages as possible between the customer and checkout confirmation as possible. "Splash" pages like that just add one more page that the customer has to go through. If they click to go to your site then it's your site they want to go to and not a Splash page.

    Putting an index.html page as the landing page on a dynamic php based site also pretty much stops search engine spidering in its tracks. That, plus the fact that this page is an "Untitled Document" and with no Meta Tags probably explains why both the Splash page and website have no Google Page Ranking at all. And as Google updated their page rankings just 3 days ago then unless this site is under 3 days old it means that Google doesn't think much of the Splash page or website.

    Vger
    Quote Originally Posted by blind1 View Post
    The other thing that can be done is to create a nice landing page in html.
    Call it index.html and place it in your root directory.
    When you click it it takes you to tyour index.php in the subfolder.
    LIKE THIS


  10. #10
    Join Date
    Dec 2006
    Location
    Victoria, Australia
    Posts
    360
    Plugin Contributions
    0

    Default Re: Moving ZENCART folder

    Well we will be changing that option then

    Yes the page is one day old and put there as a temporary fix until the cart is moved.

    Thanks for the advice

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Moving zencart to a new folder on the same server
    By amplexus in forum General Questions
    Replies: 1
    Last Post: 13 Jun 2012, 05:19 PM
  2. Problem moving ZenCart to new folder
    By Lyte in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Feb 2010, 02:37 PM
  3. Moving entire zencart folder
    By tuppen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Sep 2009, 04:56 PM
  4. Moving Zencart from one folder to another
    By bellagraysboutique in forum Basic Configuration
    Replies: 1
    Last Post: 25 Aug 2007, 08:03 PM
  5. what are implications of moving zencart to new folder
    By pstarling in forum General Questions
    Replies: 2
    Last Post: 13 Dec 2006, 11:41 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