Hi, i'm very new to posting here so apologies if wrong format or wrong place.
I'd like to know if it is possible to create a "custom" friendly URL like:
from: domain.com/index.php?id=18&Pref=R1234
to: domain.com/product/a-must-have-product-R1234
I updated .htaccess (with my limited know how) to:
# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^product/(-[^/]+)([0-9]+)?$ index.php?q=18&Pref=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
..but this only results in a 404 error page.
Setup:
Revolution 2.2.14
Use Friendly URLs = Yes
[ed. note: bvirtual last edited this post 12 years, 4 months ago.]