Forum Moderators: phranque
RewriteRule ^/?products/overview.html$ display.php?text=18 [L]
RewriteRule ^/?products/tag-bodyspray.html$ display.php?text=158 [L]
RewriteRule ^/?category/smelly-stuff.html$ display.php?text=2 [L]
RewriteRule ^/?subcategory/large-and-in-charge.html$ display.php?text=1098 [L]
When I try and access http://www.example.com/products/overview.html it does go to the display page but just the display page, so it is losing the name value pair along the way.
This doesn't seem to work either.
RewriteEngine On
RewriteRule ^/products/overview.html$ /display.php?text=18
RewriteRule ^/products/tag-bodyspray.html$ /display.php?text=158
RewriteRule ^/category/smelly-stuff.html$ /display.php?text=2
RewriteRule ^/subcategory/large-and-in-charge.html$ /display.php?text=1098
I just get a 404 error.
What am I doing wrong?
[edited by: jdMorgan at 6:57 pm (utc) on Sep. 10, 2008]
[edit reason] example.com [/edit]