Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Printer Friendly Tell a Friend

How to activate Friendly URLs

Friendly URL is a feature which allows you creating search engine friendly URLs. You can create them manually or let the system do this for you. First of all please go to Settings > System > Global Settings > Friendly URLs Settings, turn on the feature (Activate Friendly URLs), select how you want these URLs to be generated (Auto-generate Friendly URLs) and extensions (Friendly Extension). These are general settings for friendly URLs. However, note that you have to set up your apache as well. For this create a file called ".htaccess" and put it in your root folder (or the folder where all your ViArt files are located, it could be 'shop' or 'store' for example) and insert the following code in this file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /friendly_url.php [L]

In case this Rewrite Rule does not work, then alternatively we would recommend you to insert the following string in .htaccess file:

ErrorDocument 404 /friendly_url.php

Remember if ViArt Shop is running from some subfolder, e.g. http://www.web-site.com/shop/ then the path to friendly_url.php script should contain "/shop" subfolder too, like:

RewriteRule . /shop/friendly_url.php [L]
ErrorDocument 404 /shop/friendly_url.php

After that please restart the apache. Your friendly URL option should be active now. You can set up friendly URLs for individual products at Administration > Products > Products&Categories > your product > 'Edit' link > 'Friendly URL' field.