For the last few months i have been using this in my .htaccess file:
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^[^/]+-([0-9]+)\.html$ product-information.php?id=$1 [QSA,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^([0-9]+)-[^/]+\.html$ category.php?cat-id=$1 [QSA,L]
Which is working great! but some of my product id's look like: U3V11Z7IEZA3S4 now a combination of letters and number i can't seem to figure out how the code should be ammended to allow letters and numbers.
any help would be appreciated.
thanks guys
Graham