So CEON URI is a database managed URI rewriter that uses the path of the store to create the associated link(s). Now, I think of this "exercise" more as a database manipulation than a "set it up equivalent" the first time exercise.
Basically, if you are familiar with how to add the other rewrites that are not included with the utility then you could do a SQL update to replace the prefix of the URI or to copy it over in your local database before transferring to your site, and then deleting the entries that relate to your local server, keeping the entries related to your remote server.
Otherwise, I would think there is something that can be "setup" to have CEON create URIs on your local server so that they are in fact in a relative format to your online server. It creates the link(s) relative to the information held in I think HTTP_CATALOG/HTTPS_CATALOG. So whatever works from there.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
When I implemented the code tested locally to my hosting I just regenerated the .htaccess code. Even now I have identical databases in use remotely and locally. The only change is the .htaccess file.
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
My guess, and we'll have to wait for the OP to respond is that the local database is in a different subdirectory off of the local web server than the remote database. Ie, http://localhost/store2 as compared to http://www hostname com instead of http//localhost with the same remote. By having a different subdirectory for the local site as compared to the remote site, the CEON URI's won't match and therefore not work properly when transferred.
Sound correct?
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
No.. I agree with Torvista.. The issue is likely that he is using the SAME .htaccess file for his local and live versions.. and honestly he needs to post a WHOLE LOT MORE DETAIL than saying "When I did a test of moving the site to the hosting server all of my links no longer work" (which tells us NOTHING) to know exactly what the problem is..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Sigh, so, yes OP's input is needed. Regarding my statement, I have the following supporting information that the problem could be related to the difference of sub directories off of the local server as compared to the remote server. It could be that I have things setup incorrectly, but here goes with what I have seen.
My active cart is installed iin a subdirectory of our host.
The configure.php's each identiify the server variable as only the server name (not the server name/subdirectory) as described and explained in the files as well as on this site.
Per the instructions of the htaccess generator of the plugin, the htaccess file is placed in the stores root (not in the stores directry)
Autogenerated URIs are created that include the subdirectory as the first part of the path to the new URI.
A subdomain assignment was not used because we have not paid for a separate SSL certificate (non-profit organization)
Our host though, even though we don't have our own SSL certificate, provides SSL communication via a rearrangement of the host name allowing all subdirectories to remain the same following the host name. So the configure.php's need nothing special other than the different host name for SSL communication.
At a point in time after using this plugin and assigning URIs, the subfolder was changed. This resulted in the redirection URIs attempting to go to the old directory until they were updated to reflect the current subdirectory.
Hence if the subdirectory in which the URIs are originally assigned is changed, then the URIs will not properly follow.
So that is why I stated that if the local server does not mirror the destination server, the generated URIs when transferred will not properly follow.
Now, if there is an htaccess trick to modify that or work around the differences of the subdirectories, I know I would appreciate it. :)
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...