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/

Leave a Comment

Before you comment - Do you have a support request? If so, this is not the right place to post it. Please submit support requests for Premium Plugins on the Support page and in the community Support Forums for free Plugins.

Your email address will not be published. Required fields are marked *