web hosting line
1.866.605.2484
Free Web Hosting
osCommerce Hosting
osCommerce Tutorial
osCommerce Templates
osCommerce Modules
osCommerce FAQ
About osCommerce
Template Monster and SiteGround
Template Monster, the largest provider of premium osCommerce templates, now partners with SiteGround.
Host Package
Free Domain name
Unlimited space
Unlimited Traffic/mo
Ecommerce pack
99.9% Server Uptime
24/7 Top Customer Care
Immediate activation
The Best Host Package
learn more sign up now
Try Doba drop shipping services:
Award for best osCommerce host:
Useful osCommerce Resources:

Search engine friendly URLs

To enable SEF functionality in your osCommerce, you need to install a SEF contribution. There are several SEF contributions for osCommerce, but in this tutorial we'll focus on installing (probably the best) one - Ultimate SEO URLs. You can download Ultimate SEF contribution here.

After downloading the .zip archive on your local computer, please extract it in a directory of your choice.

Please make sure you backup up your files and database before installing the contribution. Find more information on how to backup your files and database here.

Then you should upload the files from the catalog folder to your osCommerce directory, overwriting the existing files. Please note that if your shop is highly modified, overwriting the existing files may break your osCommerce installation.

After that you should modify the .htaccess file, changing catalog in this line:

RewriteBase /catalog/

to the folder of your osCommerce.

osCommerce - .htaccess RewriteBase

Then, in the admin/includes/languages/english/categories.php file, before the final ?> you should add:

define('TEXT_PRODUCTS_SEO_URL', 'Products SEO URL:');
define('TEXT_EDIT_CATEGORIES_SEO_URL', 'Category SEO URL:');
define('TEXT_CATEGORIES_SEO_URL', 'Category SEO URL:');

osCommerce - categories

The last step is updating your database. Please go to your cPanel -> MySQL Databases -> phpMyAdmin. Once there, select your osCommerce database from the drop-down menu on the left, click on SQL and in the blank field paste these SQL queries:

ALTER TABLE 'categories_description' ADD 'categories_seo_url' VARCHAR( 100 ) NOT NULL ;
ALTER TABLE 'products_description' ADD 'products_seo_url' VARCHAR( 100 ) NOT NULL;

Then click on [Go] and the queries will be executed.

Now you should login to your osCommerce admin area. Under Configuration you will have a new setting - SEO URLs. Click on it to configure your newly installed SEF contribution:

osCommerce -

 

Previous Next


osCommerce Hosting
(c) Copyright 2008 SiteGround Web Hosting Provider. All rights reserved
Resources: Tutorials . Video Tutorials . Web hosting FAQ . Joomla templates . WordPress themes . Web hosting forum
Quick links: eCommerce hosting . Joomla hosting . Magento hosting . phpBB hosting . WordPress hosting . Blog Hosting . cPanel hosting . FTP hosting . Flash hosting . Website Design
Copyright © 2009 SiteGround.com Inc