Page is a not externally linkable
AnonyMouse - 11:15 am on Sep 15, 2009 (gmt 0)
As per a previous post from 2007 (http://www.webmasterworld.com/apache/3245421.htm), I'm trying to redirect all variations of previously dynamic page to one static page - without passing any variables. I.e. a many-to-one mapping. If I do the following: Then e.g. page.action?var=123 gets redirected to http://www.example.com/newpage.html?var=123 Thanks in advance for any replies!
Hi,
RewriteCond %{REQUEST_URI} ^/page.action
RewriteRule ^ http://www.example.com/newpage.html [R=301,L]
Is it possible to prevent those variables from being passed in the redirection?