View Full Version : Does the www part matter?
adamjthompson
06-11-2005, 08:51 PM
Hi,
As you can see from http://www.google.com/search?hl=en&lr=&c2coff=1&sa=G&q=site:glyconutrients-online.com Google has crawled my site pretty well...
The only problem is that some of the pages it crawled with the www prefix & some without. Does that matter? I am doing all of my inbound links with the www prefix...
Thanks,
Adam
JohnW
06-11-2005, 11:06 PM
Yes it matters. I would make sure all internal links point to the www, and also put 301 redirects from the http:// to http://www for the entire domain. If you do not, you will likely dilute some of your PR and you risk that Google will determine that you have duplicate pages.
mcanerin
06-12-2005, 01:33 AM
I agree with JohnW - it matters.
Here is why - the sites: domain.com, www.domain.com and www1.domain.com are all considered separate sites. Why? because they can be!
It's depressingly common (especially a couple of years ago) for a web host to forget to set the domain.com to resolve to the same directory as the www version, thus giving the default site on the server (usually the web hosts OWN site!) the link pop from mistakes.
You could also do it one purpose - have domain.com to be a vpn node for employees and www.domain.com be the webserver for the public, for example.
Now, eventually, Google will probably sort it out and treat the domain.com to be parked on the www.domain.com and merge the two backlinks and link pop/PR. But until that happens, they will be treated as separate sites.
The best way to avoid this, as John says, is to 301 one to the other, and take precautions that you use one version consistently - internally and externally.
Ian
adamjthompson
06-13-2005, 04:44 PM
Could you tell me how to do that?
AussieWebmaster
06-13-2005, 06:42 PM
There is an interesting related discussion over at ThreadWatch.org about this topic.
http://www.threadwatch.org/node/2817
adamjthompson
06-13-2005, 06:57 PM
THanks! I think I've done it right...I put the following in my htaccess file.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
doc816
06-15-2005, 12:08 PM
THanks! I think I've done it right...I put the following in my htaccess file.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
How would I format this in my .htaccess file to redirect more than one domain to my main site?
for example:
anyone typing in domain.com or domain.net or www.domain2.com
get redirected to: www.domain.com
thanks