Forum Moderators: Robert Charlton & goodroi
My e-com site fell from top10 to 'way down in 100's about a year ago. I've worked at most of the things suggested here to others like me. But just today I realized that Google returns only my index page for a search site:www.example.com, and ALL my page for site:example.com. Likewise, the few listings that rank OK in the SERPS point to the non-www version of my domain.
Has Google flagged me as running duplicate sites? Could there be a penalty attached to what they perceive as different (although they are not) domains running duplicate content?
Is this a case for a 301 redirect? My web host thinks I'm crazy. BTW, 5 other sites I run on the same host return identical results for the 'site:' searches using www. and non-www. No problem with their rankings, either.
Any help would be really appreciated. Thanks.
[edited by: ciml at 12:25 pm (utc) on Jan. 29, 2005]
[edit reason] Examplified [/edit]
GG addressed this issue briefly around that time and indicated that Google had an internal process ("canonicalization") that would reconcile these inadvertant duplicates into a single URL. As I recall, there was a hint that the process was run on an irregular basis, and not a part of their normal routine. The upshot is that, eventually Google should notice and self-correct the problem. Of course, "eventually" can sometimes mean several months.
The best solution is to set up code 301 redirects from the "bad" version of your URL to the "good" version. You can take your pick, but you need to choose. The key is to make sure your redirects work for all of the URLs for all of the pages on your site in order to make sure all pages' URLs get righted as soon as possible in addition to the root URL. The Apache .htaccess script in the thread that redleaf linked to in his message above will work fine. I don't know the fix on IIs servers. I'm sure there's references for them here in WebmasterWorld. But by setting up blanket 301's you will get your site back into Google's good graces within a much shorter time - often under a week for smallish sites.
I think everyone should set up these redirects as a preventative measure. I say this because I was recently embarassed to find one of my own sites fell into this trap. Once I installed the 301 fix, all was well in about 10 days.
Since these numbers are not the same (the number of indexed pages that it returns from this command= site:example.com and site:www.example.com) should I be worried about setting up a 301 redirect on one of them?
Which one should I setup the 301 redirect for? Most of my links are to www.example.com
I notice quite a few visitors landing on nnn.nnn.nnn.nnn (server's ip) rather than www.widgets.co.uk
Looking at site:nnn.nnn.nnn.nnn I see that 522 pages are indexed.
Should the ip address have a 301 redirect too?
-----
PS. That reminds me of another on a similar theme - same site for widgets.com and widgets.co.uk.
5 years ago I obtained widgets.co.uk and also widgets.com. Even though the site is based in the UK I thought it would be safer incase users just typed widgets in the url field and the browser automatically appends .com
Anyway, At that time I foolishly duplicated the .com and .co.uk by pointing the addresses to the same server. Therefore, if a user entered www.widgets.co.uk or www.widgets.com they would access the same duplicated pages on a virtual host of the same IP address.
After reading good posts at the time I realised it was a bad move and just changed the www.widgets.com to a holding page on the lines of "please visit our main site at www.widgets.co.uk"
That's fine over the years but I still get a lot of se's indexing the .com directories.
Recently I setup a redirect for all .com pages to redirect to the corresponding .co.uk. Was that the right way to go about it?
Not that anyone should NOT go ahead with the 301's, in any case. Just another possibilty to follow.
I'm trying that approach. Will post response, if any.
example.com is referred to as the Root Domain. www.example.com is referred to as a Sub-Domain. Both are distinct entities. The search engines are pretty good about listing only one of the two. It is usually the one that has the most IBLs.
Yes, a 301 is a possible solution for this. But, if you ever plan on using the root domain, a 302 may be advisable.
site:www.example.com returns more results than I have pages on my web site
site:example.com also returns more results than I have pages on my web site
Is this possible? Does this mean my site is starting to get indexed twice as example.com and www.example.com?
The first part is a personnal message:
"We searched for your site and found that is is currently included in our results...Please visit the following link (link to my www. site)"
The rest is a canned message about not being able to make corrections to individual sites, recommendations to follow the listing guidelines, etc.
I really appreciate Google's effort to answer my dilemma, but I'm not sure it says anything.
My problem is vastly different indexing for www.domain.com VS domain.com, and what I believe (and has been pointed out by others) leads to a ranking nightmare.
I AM experiencing the nightmare, sitting in the 300s for an e-com site that used to be top 10. I guess I can only hope that my new 301's will force G to get this straight some day.