| I have been trying to have modrewrite manipulate urls that have a mysql query string in it. All seems to be working ok, but I get the mysql query string in the url and I would like to remove it. This would be the original url. http://www.foobar.com/ev.php?URL_ID=1527&URL_DO=DO_TOPIC&URL_SECTION=201&reload=1047330420 and I would like to change it to http://www.foobar.com/minga here is the code that I am using for modrewrite #Used to rewrite url when clicking on a link RewriteCond %{QUERY_STRING} URL_ID=1527&URL_DO=DO_TOPIC&URL_SECTION=201* RewriteCond %{THE_REQUEST}!minga RewriteRule ^(.*) /minga [R,L] #Rewrite rule redirecting link. RewriteRule ^minga/ /minga [R,L] RewriteRule ^minga /ev.php?URL_ID=1527&URL_DO=DO_TOPIC&URL_SECTION=201 [PT,L,NC] Now with this I get the following url: http://foobar.com/minga?URL_ID=1527&URL_DO=DO_TOPIC&URL_SECTION=201&reload=1047330420 Anyone have any ideas on how to remove the query string from the url?
|