Need Help with strange mod_rewrite and 301 to other domain

by Almut
0 replies
Hello,

I have a problem with mod_rewrite and 301 forwarding.

My situation is that I want to move innerpage URLs from my old domain to my new domain with 301 forwarding.

The URLs for my old domain are rewritten already. URLs like details?link_id=xx are rewritten to details-xx.html

Now I want to 301 one of these inner pages to a specific URL on the new domain.

I added this line to my old domain:
Redirect permanent /details-xx.html http://test.com/blabla/

The redirect works BUT on the new domain the query string of the old URL is shown suddenly.

http://test.com/blabla/?link_id=xx

How can I stop to show the query string. Otherwise I'm not sure if all the link juice will be passed to the correct URL when this query string appears.

Anybody an idea perhaps?
#301 #domain #modrewrite #strange

Trending Topics