This section describes the steps required to setup the SEO-G when the e-commerce store is relocated to a different folder or to a different domain. 1. Relocating the catalog of the osCommerce into a different folder. [a] Alter the .htaccess file of the catalog folder or root folder where the osCommerce store is setup. Open it and locate the following code: #-MS- SEO-G Added Options +FollowSymLinks RewriteEngine On RewriteBase /mystore/ RewriteRule ^(.*).html$ root.php?$1.html&%{QUERY_STRING} #-MS- SEO-G Added EOM The Base path of the catalog must be set to match the folder of the osCommerce. This line: RewriteBase /mystore/ Must be altered to match the base path. If the catalog is on the root of the domain, then the Rewrite base should read: RewriteBase / If the base path is inside the store path then this line should read: RewriteBase /store/ Save and upload the modifications of the .htaccess file to the catalog root of your e-commerce store.
[b] Update the SEO-G URLs located from the SEO-G on the admin end via the G-Reports page. Delete all links because these are stored with the old path. 2. Relocating the osCommerce store into a different domain. This section assumes the old database was transfered into the new domain. [a] Disable the SEO-G from the SEO configuration - master switch set it to false so the SEO-G module does not attempt to generate links until the store configuration is complete. [b] Update the SEO-G URLs located from the SEO-G on the admin end via the G-Reports page. Delete all links because these are stored with the old path. [c] Once everything is configured and tested re-enable the SEO-G module from the master switch under the SEO-G configuration section on the administration panel of your e-commerce store.
3. SEO-G Renegade Edition and Proximity Redirects For older versions of SEO-G Renegade, in addition to the item-2 above, locate the SEO-G external redirection PHP script under the catalog root directory. Edit it and modify the $location variable to reflect the new domain and/or path for the catalog where osCommerce or I-Metrics layer is installed. This step is not applicable for newer versions of SEO-G as the code retrieves the necessary location variable using the configure.php files.
|