Ultimate SEO URLs Documentation - by Chemo

Welcome to Ultimate SEO URLs contribution documentation!

 

First, if you are upgrading please read the UPRGADE documentation.


What does this contribution do?

This congribution replaces the stock osCommerce method of creating URLs by passing the parameters (products_id, cPath, etc.) by creating static HTML file URLs.

In this release the cName method of URL generation has been DISCONTINUED. If you are hosted on a Windows server or otherwise need the cName method please use v2.0b

Requirements


INSTALLATION - Clean install on sterile osCommerce MS-2.2


STEP #1 - Upload the class and update files

STEP #2 - Edit includes/application_top.php

Find this code:

Directly AFTER add this:


STEP #3 - Edit includes/functions/html_output.php

Find the tep_href_link() function:

And REPLACE with this function:


STEP #4 - Edit admin/categories.php

Find this code:

Directly AFTER add this:


STEP #5 - Edit admin/includes/functions/general.php

Add this code to the file just above the ending ?> tag:


STEP #6 - Edit .htaccess file (in your catalog directory)

If you don't have an .htaccess file in your catalog directory create one.

If your store is located in a DIRECTORY add this to the /*directory*/.htaccess file:

NOTE: you will have to edit the "directory" to match your directory name!

If your store is located in the root add this to the /.htaccess file:


STEP #7 - Test the installation

Call your store in your favorite broswer! The contribution should be functional out of the box and all database settings will be installed automatically on first page request. The contribution has an intelligent database installer that detects whether the proper settings are present and if not will install them.


You may need to clear your cache files to ensure that all URLs generated are fresh.


Click a few links and verify everything is functional. Test the add to cart and buy now buttons if you use them. Once you verify everything is working it's time to configure the contribution.


STEP #8 - Configuration

You will find a new setting group in your admin control panel under Configuration => SEO URLs


OPTIONAL - Performance Monitoring and Assessment

In includes/application_bottom.php paste this code just after the opening PHP tag:

To activate the performance diagnostic code append ?profile=on to any URL which will save the setting to your session. Now you should see the performance profile data at the footer. You can browse the catalog and the output will be at the footer. This will allow you to quickly assess the performance of the homepage, category, and product pages. To turn it back off append ?profile=off to any URL.


This documentation was generated by phpDocumentor v1.3.0RC3