View Single Post
Old 2006-01-18, 01:03 PM   #2
fatum
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
 
fatum's Avatar
 
Join Date: Oct 2005
Posts: 26
Definitely you should use 301 permanent redirect. Google treats www and non-www as two different sites and even can ban your sites because of duplicate content..
Here is what i use :

Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
That basically redirects all non-www request to www.domain.com
With 301 redirect pagerank will also be transferred
__________________
Submit Your Gay Sites - Gay Lovers Club
fatum is offline   Reply With Quote