E: sales@storesprite.com

Search Engine Friendly Urls

Upon installing storesprite you are given the option as to whether you also want to use SEO Friendly URLs (eg www.blah.com/section/2/widgets/ rather than www.blah.com/viewproducts.php?category_id=2).


Your host must allow you to use Mod Rewrite via .htaccess, as long as they do you do not need to worry about the technicalities.


Upon installing storesprite, you are asked if you want to use SEO Friendly URLS, select 'yes'.

If you have previously installed and selected 'no' you will need to edit '/private/config.php' and add the following line:

$SEOFriend = "Y";

A note about paths

If you installed storesprite at the web root (eg. www.yourname.com) SEO Urls should work out of the box. If you installed into a sub directory you will need to edit the .htaccess file - otherwise you will see alot of 404 errors.

The example below is the content of the .htaccess file if your storesprite install is located at www.yourdomain.com/store/. If you install at another location you would replace /store/ with the correct location for your installation.

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^sections/(.*)/(.*)/(.*)/(.*)/ /store/viewproducts.php?category_id=$1&position=$3&nresults=$4 [nc]
RewriteRule ^sections/(.*)/(.*)/ /store/viewproducts.php?category_id=$1 [nc]
RewriteRule ^brands/(.*)/(.*)/(.*)/(.*)/ /store/brand.php?brid=$1&position=$3&nresults=$4 [nc]
RewriteRule ^brands/(.*)/(.*)/ /store/brand.php?brid=$1 [nc]
RewriteRule ^products/(.*)/(.*)/(.*)/ /store/displayproduct.php?product_id=$2&category_id=$1 [nc]
RewriteRule ^docs/(.*)/(.*)/ /store/pages.php?cmsid=$1 [nc]