SEO Urls
Configuration
If you enable SEO URLs then you will need to edit your .htaccess file in the root of your catlog folder. See the section below for instructions.
Enable SEO URLs? :: This setting enables/disables the SEO URLs contribution globally. (Default Setting: true)
Add cPath to product URLs? :: This setting enables/disables the option of adding the cPath parameter to the end of product pages. Eg. some-product-p-1.html?cPath=xx (Default Setting: false)
Add category parent to begining of URLs? :: This setting enables/disables the option of adding the category parent to the beginning of category URLs. Eg. parent-category-p-1.html (Default Setting: true)
Filter Short Words :: This setting allows a store owner to filter short words which typically add no value. Don't set this too high! (Default Setting: true)
Enable SEO cache to save queries? :: This setting enables/disables the query cache engine globally. If disabled each
URL generated will take 1 query. (Default Setting:
true)
Enable product cache? :: This setting enables/disables the option of using cache for the products. (Default Setting: true)
Enable categories cache? :: This setting enables/disables the option of using cache for the categories. (Default Setting: true)
Enable manufacturers cache? :: This setting enables/disables the option of using cache for the manufacturers. (Default Setting: true)
Enable articles cache? :: This setting enables/disables the option of using cache for the articles (if installed)(Default Setting: true)
Enable information cache? :: This setting enables/disables the option of using cache for the information pages (if installed) (Default Setting: true)
Enable topics cache? :: This setting enables/disables the option of using cache for the article topics (if installed) (Default Setting: true)
Enable automatic redirects? :: This setting enables/disables the automatic 301 header redirect logic. This sends a moved permanent header for all old URLs to the new ones. This setting is highly recommended for stores that have already been indexed by spiders. (Default Setting: true)
Choose URL Rewrite Type :: This can only be set to
Rewrite
Enter special character conversions :: This setting allows a store owner to enter a list of special character conversions. (Default Setting: NULL) Please note the format below.
Remove all non-alphanumeric characters? :: This setting allows the store owner to remove all non-alphanumeric characters from the
URL. This is highly effective and will result in some interesting URLs. For example, some-product-p-1.html will become someproduct-p-1.html (Default Setting:
false)
Reset SEO URLs Cache :: This setting allows the store owner to clear the SEO cache manually. (Default Setting: false)
Enable SEO URL Validation :: Enable SEO validation on your store URLs.
Edit your .htaccess file
Open the .htaccess file with the catalog folder of your store using a suitable text editor.
Find this code at the bottom of the file:
# BOF: MOD - Ultimate SEO URLs
## SEO Url's .htaccess file
## If you want to use the Apache Mod-Rewrite method for SEO URL's
## NOTE: This requires that you are on an apache web server with mod_rewrite enabled.
#<IfModule mod_rewrite.c>
#Options +FollowSymLinks
#RewriteEngine On
# Change "catalog" to your catalog directory name:
#RewriteBase /catalog/
## If installed to the base home/root directory, uncomment the below code only:
#RewriteBase /
#RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
#RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
#RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
#RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
#RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
#RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
#RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
#RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
#RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}
#</ifModule>
# EOF: MOD - Ultimate SEO URLs
and change it to:
# BOF: MOD - Ultimate SEO URLs
## SEO Url's .htaccess file
## If you want to use the Apache Mod-Rewrite method for SEO URL's
## NOTE: This requires that you are on an apache web server with mod_rewrite enabled.
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
# Change "catalog" to your catalog directory name:
RewriteBase /catalog/
## If installed to the base home/root directory, uncomment the below code only:
#RewriteBase /
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}
</ifModule>
# EOF: MOD - Ultimate SEO URLs
You must only remove the
# from one of the
RewriteBase lines. This basically sets the root directory for the rewrite rules. If your site is in a different folder then change this line accordingly.
Source: osCMax Forums - Thanks to michael_s