Forum Moderators: phranque
RewriteEngine on
RewriteRule (.*) http://www.new.com/$1 [R=301,L] Does anyone know if there's any way I can redirect specifically from:
http://www.old.com/oldpagename.html to http://www.new.com/anothername.html in addition to a general redirect for the many page names that don't change on the new domain. RewriteEngine on
RewriteRule ^oldpagename\.html$ http://www.new.com/anothername.html [R=301]
RewriteRule (.*) http://www.new.com/$1 [R=301,L] http://www.new.com/http:/www.new.com/anothername.html RedirectPermanent /oldpagename.html http://www.new.com/anothername.html
RewriteEngine on
RewriteRule (.*) http://www.new.com/$1 [R=301,L] http://www.new.com/oldpagename.html RewriteEngine on
RewriteRule ^oldpagename\.html$ http://www.new.com/anothername.html [R=301,L]
RewriteRule (.*) http://www.new.com/$1 [R=301,L]