You should have created a subdomain for your test store.. You can configure this subdomain to point to the subfolder of the live store you created.. This way when you move things over, the mappings won't include your subfolder names in the file/URL paths..
If your store is: http://yourdomain.com
and you create a folder called testsite_folder
Here's what you do:
Create subdomain: yoursubdomain.yourdomain.com
Point subdomain to: yourhost/html_filepath/mainsite/testsite_folder
Into your test site folder you will copy your store files.
The URL for your test site will then be: http://yoursubdomain.yourdomain.com
This is the RIGHT way to set up a test site when Zen Cart is installed in the ROOT.
BUT...
There are other sites that the live store REALLY is a Zen Cart store in a subfolder.. This is okay, but if you set up a test store for this site, you ALSO need to create a subdomain so that the file paths/URLS can easily be transferred over.
Let's say your main site is: http://yourdomain.com
Your store is: http://yourdomain.com/shop
and you create a folder called testsite_folder
Here's what you do:
Create subdomain: yoursubdomain.yourdomain.com
Point subdomain to: yourhost/html_filepath/mainsite/testsite_folder
Into your test site folder you will copy the MAIN site, as well as the store. This way you will have a testsite for the ENTIRE store.
OR simply copy over the just "shop" folder if you don't need to create a testsite for the main site.
The URL for your test store will be http://yoursubdomain.yourdomain.com/shop
Hope this makes sense..
Bookmarks