i'm doing a permanent 301 redirect from one url to another (all pages of one url redirect to the index page of the other url) - however, when a certain page on the old url has parameters, it redirects to http://www.domain.com/?id=20 - while it should strip of that parameter and redirect to http://www.domain.com Does anyone know how you can redirect ALL pages from the old domain, to the index page of the new domain, without having any parameters leftover in the url?
Place following to .htaccess in the root of the old domain : Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.yournewdomain.com [R=301,L]: