Forum Moderators: phranque
domain.com/products.php?cat=5
I just need to send requests for cat=5 to cat=23.
I'm using a rewrite rule already to go from non-www to www but I'm a little lost with this dynamic page. I'd appreciate any help. Thanks
RewriteCond %{QUERY_STRING} ^cat=5$
RewriteRule ^products\.php$ http://www.example.com/products.php?cat=23 [R=301,L]
Be sure to place this code before your existing domain redirect, in order to avoid multiple redirects on these requests.
For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].
Jim