Forum Moderators: phranque
Im trying to redirect some 10 dynamic pages out of like 100 so I have to hardcode the values. But I cant get it to work with the?values=value in it.
Doesnt Work
RedirectMatch permanent ^/Page.html?pair=1234 /category/1234.html
Does Work
RedirectMatch permanent ^/Page.html? /category/1234.html
Is the only way to do this using the RewriteCond and RewriteRule?
RewriteCond %{QUERY_STRING} ^pair=1234$
RewriteRule ........
Thanks
?
RedirectMatch permanent ^/Page\.html\?pair=1234 /category/1234.html
Jim