yet another mod_rewrite question
Posted: Sat Feb 10, 2007 2:46 pm
.htaccess file has this:
First one works fine, second doesn't work at all. I want it do to this: when user goes to site.com/AB-12345 it shows /items.php?cat=AB&id=12345.
Any ideas why its not working?
Code: Select all
RewriteEngine on
RewriteRule ^img([A-Za-z0-9]+).image/$ img.php?pictureid=$1 [NC]
RewriteRule ^([A-Za-z]+)\-([0-9]{1,5})/$ /items.php?cat=$1&id=$2 [NC]Any ideas why its not working?