if someone has experience this before please share i have a domain on an apache server www.domain.se. its an old domain i i used to have index.asp?id=34&sida=501 i tired to redirect it to www.domain.com the problem is that google has indexed the pages www.domain.se?id=34&sida=501 with the same title as the startpage my .htaccess code for this RewriteCond %{HTTP_HOST} ^domain.se [NC] RewriteRule ^(.*)$ http://www.domiain.se/$1 [L,R=301] anybody got a clue? is it duplicate content? Best regards Tobi MVH Tobias
You are not rewriting the query string. So at the moment, the query part of the URL (e.g. ?id=34&sida=501) is being ignored. Use the QSA flag: RewriteRule ^(.*)$ http://www.domain.se/$1 [QSA,L,R=301] Code (markup): PS. Be a bit more careful please, especially with the topic title (3021 instead of 301...)
thanks! i tried the qsa command but it still remains on domain index.asp?id=34&sida=501 without the 301 hmmmm