Mobile app version of vmapp.org
Login or Join
Angie530

: Recommended way on implementing 301 redirects I am rebranding a website, which involves changing the domain name. I want to know the best way of redirecting traffic to the new domain, using

@Angie530

Posted in: #301Redirect #Apache #Redirects

I am rebranding a website, which involves changing the domain name. I want to know the best way of redirecting traffic to the new domain, using 301. Ideally, I will do this at the webserver (Apache) level, rather than at the page level.

There are lots of articles on Google - but I would like to hear from people who have actually undergone such a transition - so I know if there are any gotchas etc to be aware of.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angie530

1 Comments

Sorted by latest first Latest Oldest Best

 

@Pope3001725

Just make sure you redirect users to the same page on the new domain that they were expecting on the old domain. If the page no longer exists then you should take the user to as page that explains why the page has been removed and recommend other pages that may be related or are otherwise helpful to the user. Although search engines will update their indexes in a set period of time, users may not update their bookmarks so you should leave the 301 redirects up for an extended period of time if not indefinitely.

update

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme