Re: Ceon URI Mapping v4.x
Hi,
Quote:
Originally Posted by
SPembleton
I have now deleted the test store for the site, but I cannot seem to figure out how to get URI Mapping to reconfigure to use the live store locations.
As is mentioned quite a few times in this thread, you can't build a site with static URIs in a subfolder then move those URIs to a root folder.
If you have URIs with /test/ in front that you want to change to / you can export your database table to SQL and do a search and replace in the SQL text file the use it to replace the database table.
If you are saying that on your live store auto-generation is sticking "/test/" at the start still then you've simply messed up your configure.php file and need to adjust it.
Hope that helps.
All the best...
Conor
ceon
Re: Ceon URI Mapping v4.x
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
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..
Create: yoursubdomain.yourdomain.com
Point subdomain to: yourhost/html_filepath/mainsite_path/testsite_path
Hope this makes sense
I am not sure if I understand that, but I have actually just deleted it. If I need it again, I can recreate it. I was mostly using it while moving to 1.5.
That said, how do I fix what I currently have. If I just reinstall all of the in the zip, and delete the 4 or 5 static uri created, will that fix my problem? Do I need to remove the 3 fields that CEON added to my database? Or do I need to restore the backup I took just before installing?
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
SPembleton
I have store running on v1.5.0. I also have a "test" store that I use for testing new applications etc. The files for the test store reside in a subfolder of the live store. It also uses a totally seperate MySQL database. When I installed URI mapping, it wants to map all of the products in the live store to the test store (i.e. all of the static URI's begin with /test/, rather than mapping from the root directory.
I have now deleted the test store for the site, but I cannot seem to figure out how to get URI Mapping to reconfigure to use the live store locations.
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..
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
SPembleton
I am not sure if I understand that
You should talk to your host's support to have them walk you through the process of creating subdomains then..
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
conor
Hi,
As is mentioned quite a few times in this thread, you can't build a site with static URIs in a subfolder then move those URIs to a root folder.
If you have URIs with /test/ in front that you want to change to / you can export your database table to SQL and do a search and replace in the SQL text file the use it to replace the database table.
If you are saying that on your live store auto-generation is sticking "/test/" at the start still then you've simply messed up your configure.php file and need to adjust it.
Hope that helps.
All the best...
Conor
ceon
Perfect. I didn't realize that I had a reference to the test site in my admin config file. I fixed it and it works perfect. Thanks for your help
Re: Ceon URI Mapping v4.x
Hi,
Quote:
Originally Posted by
SPembleton
Perfect. I didn't realize that I had a reference to the test site in my admin config file. I fixed it and it works perfect. Thanks for your help
I wasn't sure but I'd an inkling you'd made that mistake.. glad I was able to help.
Enjoy the new URIs.
All the best..
Conor
ceon
Re: Ceon URI Mapping v4.x
One last question.
I have read all of the FAQs etc, and realize that I have to go into each product in edit mode to create the uri. The problem is that I have about 10,000 products. Is there any way to do this in a more time effecient than opening 10,000 products and resaving them??
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
SPembleton
One last question.
I have read all of the FAQs etc, and realize that I have to go into each product in edit mode to create the uri. The problem is that I have about 10,000 products. Is there any way to do this in a more time effecient than opening 10,000 products and resaving them??
Buy his URI Mapping Manager Software:
http://dev.ceon.net/web/zen-cart/uri...?doc=zc-um-umm
Autogenerates for existing products.
A real time saver and worth every penny.
Just recreated links for over 20k products in several hours of unattended running.
Pretty sure you don't want to run this on a shared host, as it pegged CPU & Disk for quite some time. Store was completely accessible during the generation, but some hosts would probably shut you down if you jacked the resources like that. Perhaps a category at a time would be saner.
The recently released 1.20 upgrade went flawlessly too.
Thanks Conor!
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Limitless
Buy his URI Mapping Manager Software:
http://dev.ceon.net/web/zen-cart/uri...?doc=zc-um-umm
Autogenerates for existing products.
A real time saver and worth every penny.
Just recreated links for over 20k products in several hours of unattended running.
Pretty sure you don't want to run this on a shared host, as it pegged CPU & Disk for quite some time. Store was completely accessible during the generation, but some hosts would probably shut you down if you jacked the resources like that. Perhaps a category at a time would be saner.
The recently released 1.20 upgrade went flawlessly too.
Thanks Conor!
Thanks for the suggestion. It sounds like a great product for the right type of store.
Unfortunately, I am a small store in terms of revenues, and have a very static product list, so paying $90 for a one-time usage is a little beyond my means.
I think I will just manually change the categories, and let the specific products keep the old uris