Forum Moderators: mack
The suggested format is "http://www.site.com/"
If I type in www.site.com I get my site.
If I type in site.com I get my site
Also with [site.com...]
Is this a problem? And if so how do I fix it?
Thanks
If you're on Apache, you can fix it in the .htaccess. If you're on Windows, there's a way of doing it, but I know nothing about it.
If you search WW for "canonical", "non-www", etc, you should find a lot more info.
Don't worry about the with or without http:// - browsers automatically assume there's an http:// there and will add if it isn't.
The problem becomes apparent when you have link pointing to example.com and www.example.com in effect you are linking to 2 different pages. They are the same page, but the search engines will see this as 2 different url's. What you are dong is doubling your promotional workload.
With search engines a link is a vote. You will want to get as many votes pointing to a page as possible. You will want to get as many of these votes as possible to point to the correct page.
Mack.
Do the search engines look at having the two as a bad thing?
The biggest part of the problem is that it splits your available Page Rank with Google. Both versions, with and without www, will be listed, but only one will show in the serps. This will be the one that got the greater balance of the PR (however it happened), but it will still be reduced from its full value because of what was drained off by the other version.
Really, you want to concentrate everything into one specific canonical version for every page. Anything other than that is just causing confusion and dilution for the SE's (G in particular).
I don't know how it got to be without the www.
It's been both from the start. You might not have a problem at this time (meaning you might not have two versions listed) and should be careful about how you deal with it. Fix it, but don't panic. Read-up first.
If you have both listed independently, probably someone linked to you without the www.
For fixing it, see msg#2. Do you know if your server is using Apache? If not, use this tool on one of your URL's and it will tell you:
[webmasterworld.com...]
First search: ¦ site:www.example.com ¦in G. Note the results that you get.
Then search: ¦ site:example.com -inurl:www ¦ in G. Note the results that you get.
The first search will show all your pages listed with a www.
The second search will show all your pages listed without a www.
If you have pages that show in both those searches, you need to fix things. All of your pages should show up either with or without the www, depending on which version you prefer, but not both.