Welcome to WebmasterWorld Guest from

Forum Moderators: buckworks & webwork

Message Too Old, No Replies

new domain name

domain name change

8:51 am on Jan 12, 2010 (gmt 0)

New User

5+ Year Member

joined:Aug 19, 2008
posts: 23
votes: 0


I want to change the domain name of my private website.

From this great forum I could conclude that a 301 is the best way to keep google rankings.

What exactly should the entry in the .htaccess be like?

Redirect 301 / [newdomainname.ext...]


Redirect 301 [olddomainname.ext...] [newdomainname.ext...]

The files themselves stay on the same host.

Are there other things to keep in mind when changing the domain name?

Thanks for the advice.

11:40 am on Jan 12, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Nov 3, 2006
votes: 1

do a search on: htaccess redirect

but maybe this would answer your question

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) [newdomain.com...] [R=301,L]

9:37 pm on Jan 12, 2010 (gmt 0)

Senior Member

joined:June 3, 2007
votes: 0

I've always found the most efficient way is to do a url forward direct from your domain registrar IF they offer that facility.