Why change it at all?
The best way to do it is to keep it in whatever location it's been at for the past several years. Otherwise you lose search-engine rankings, and break peoples' bookmarks etc.
Related: http://www.zen-cart.com/entry.php?3-...d-of-upgrading
.
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.
This is a compelling argument. If I go this route, and I think I will, this means that I will need to take down my live site currently in folder /zencart, rename that folder zencart_old (or something similar) rename my test site's ZenCartUpgrade folder to zencart and then find every instance of ZenCartUpgrade in the test site and rename it zencart (as in /includes/configure.php and others). Is this correct?
If this is the correct way to proceed, I can use the Developers Tool Kit in the admin area to search for usages of ZenCartUpgrade. Is there a FAQ on globally renaming folders?
Are these folders in a server folder named /public_html/ or /www/ or /htdocs/, or the like? That would indicate that your live store and your test store are both in subfolders of your main domain. The question is, why do you think it is better for your business to be insulated from visitors by another layer of web pages? Would your business benefit from being the first thing visitors to your domain see?
Of course, existing search engine rankings are a real factor to consider. If your store is now at /Zencart/, perhaps best to keep it there even if that is not the finest possible part of your address.
Last edited by gjh42; 6 Jun 2013 at 11:51 PM.
I don't think the live and test stores are in subfolders. Here is my root folder of my website, as seen in FileZilla:
/zencart is my live store
/ZenCartDemo is v1.51 with demo files which I used to play around with (I will delete that)
/ZenCartUpgradeTest is my test store that is ready to go live.
They are definitely in subfolders. If one were in the domain root, you would get to it just by entering www.mydomain.com.
You should not need to change any links or folder names aside from the two configure.php files, unless you have improperly hard-coded complete URLs in custom text/code.
The way it's set up now if I go to my web site, MyDomain.com and surf around there and then decide I want to buy something I click on the Shop Now button or the various Buy Now buttons. That takes me to the Zen shopping cart. The URL in the address bar now shows MyDomain.com/zencart/.
If I want to replace my live site (which is in folder /zencart) with my test site (which is in folder /ZenCartUpgradeTest) AND once completed I want the URL to show MyDomain.com/zencart/ how do I accomplish this? Don't I need to rename these two folders and alter the configure.php files?