Forum Moderators: phranque
I searched the forum for some hints, but I did not find the simplest question about URL rewrite with query string:
How to rewrite:
[exemple.com...] to http://www.example.com/first_article/
and
http://www.example.com/article.asp?id=2 to http://www.example.com/second_article/
Regards, Francesco.
RewriteCond %{query_string} ^id=1$
RewriteRule ^/article.asp$ http://www.example.com/first_article/? [R=301,NC,L]
RewriteCond %{query_string} ^id=2$
RewriteRule ^/article.asp$ http://www.example.com/second_article/? [R=301,NC,L]
Someone has other hints?
Regards, Francesco.