Forum Moderators: phranque

Message Too Old, No Replies

301 Redirect adding unwanted query string

         

erikcw

2:08 pm on Sep 12, 2005 (gmt 0)

10+ Year Member



Hi,

I am using
Redirect 301 /Old-Page.html [domain.com...]
in my .htaccess file to move a a page. The redirect seems to work fine, except for the fact that it adds the following query string onto the redirected URL:
?name=Old-Page&page=

How do I get rid of the query string?

Thanks!
Erik

jdMorgan

4:54 pm on Sep 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's abnormal. The Redirect directive won't do this on its own. So look for some other code in your httpd.conf and all .htaccess files in the path of the new and redirected URLs to find the cause.

Jim