homepage Welcome to WebmasterWorld Guest from 54.226.235.222
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Domain Names
Forum Library, Charter, Moderators: buckworks & webwork

Domain Names Forum

    
new domain name
domain name change
bolognese




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

Hi,

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...]

or

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.

 

dailypress




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

do a search on: htaccess redirect

but maybe this would answer your question

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

HuskyPup




msg:4059347
 9:37 pm on Jan 12, 2010 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Domain Names
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved