Redirecting all subdomains to www

In order to get the cleanest and best ranking possible, always redirect your subdomains (the ones not in use) to www! I cant stress this enough. When Google comes by and sees that http://site.com and http://www.site.com are the same it thinks that this is duplicate content, which it is! I just implemented this today for my friends site A1 Imports Autoworks. Go ahead, try it. Here is the rewrite for Apache:

RewriteCond %{HTTP_HOST} ^a1importsautoworks\.com(.*) [NC]
RewriteRule ^(.*) http://www.a1importsautoworks.com/$1 [L,R=301]

Share:
  • Facebook
  • TwitThis
  • Digg
  • del.icio.us
  • Google
  • Reddit
  • StumbleUpon
  • Technorati
  • E-mail this story to a friend!

Leave a Reply