It sounds like you are using GoDaddy for web hosting. Are they also your domain registrar? If so, you can edit your domain in the GoDaddy control panel to setup the 301 redirect. It's very simple to do. Let us know if you run into any problems. Thanks.
but what i mean is, for SEO purposes, one should link to the other, otherwise your traffic is split... but i don't know how
No, the SEs see the www and the non www as two different URLs.They are the same thing.
- 1 URL
- same site
- same traffic
You can't link a site to itself.
No, the SEs see the www and the non www as two different URLs.
My post was pretty self explanatory.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]
I am now really interested to see who here has used these methods and who hasn't?Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]
Windows :/