301 site redirects, Web hosting
After learning about site redirections I have listed several established methods of redirecting traffic from existing domains to new domains.
Redirect on a per page basis
redirect 301 /old/old.htm http://www.you.com/new.htm
Redirect non-www (wildcard) domains
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^you.com [NC]
RewriteRule ^(.*)$ http://www.you.com/$1 [L,R=301]
Redirect entire sites
redirect 301 / http://www.you.com/
About the article
This article was written on 2007-03-04 at 16:17:16+0000, filed under Uncategorized and tagged Internet, Technology.
Enjoy this article? Get future updates sent to you for free! Join by subscribing to the Visser Labs RSS feed.
Did this article solve that killer problem you've been working hard at for the last day?
Give back by making a small donation, it's quick, easy and a great thank you! Make a small donation today »










No Comments
There are currently no comments for this article.
RSS feed for comments on this page.
Sorry, the comment form is closed at this time.