Store Relocation using SEO-G

INTEGRATION SERVICES FOR WEBSITE OPTIMIZATION

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.

Review: Store Relocation using SEO-G

Please enter your comment for this technical article based on your experience.

NOTE: HTML is not translated. Reviews are manually approved by the administrator.

Tags supported for code presentation purposes:
- For PHP enclose the code in [code1][/code1] tags
- For MySQL queries use [code3][/code3] tags
- For HTML content use [code5][/code5] tags
- For CSS use [code6][/code6] tags
 
Your Email (Will not be published):
Your Name:
Your Comments:

Blog and News

The CheetahMail Spam Internal Links Structure Blind Redirects and Exploits
 
 
META-G Extreme Tags Generator
 
 
 
I-Metrics Layer by Asymmetric Software
E-Commerce Engine Copyright © 2003 osCommerce (MS2.2)
Copyright © 2003-2012 Asymmetric Software - All rights reserved.
 
 
  Advanced Search
E-Commerce by Asymmetric Software - Innovation and Excellence
  • LOG IN
  • CREATE ACCOUNT
META-G offers sophisticated meta-tags control.