Forum Moderators: phranque
RewriteRule (.*)this(.*) $1that$2
then
www.mysite.com/this becomes www.mysite.com/that
but
www.mysite.com?this=3 does NOT become www.mysite.com?that=3 at least on my apache installation
How can I do substitutions on the bits of the URL after the question mark i.e. on the parameters?
Thanks
John
RewriteCond %{QUERY_STRING} "^this=(.*)"
RewriteRule (.*)\.html$ /$1?that=%1 [R] Good luck ;)
... and welcome to Webmasterworld [webmasterworld.com]