Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Google Indexing with & without www

         

AnkitMaheshwari

5:31 am on Aug 25, 2008 (gmt 0)

10+ Year Member



Hi

I have a website that shows one page in the Google index when we run a site:URL command and that too an internal page while when we run the command without www, it shows 27 pages.

eg:
site:www.example.com gives 1 page
site:example.com gives 27 pages

When we check the cache date for the home page it shows the same whether with or without www.

Let me know if this is some kind of penality by Google?

Thanks in advance.

-Ankit

tedster

6:07 am on Aug 25, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your site has fallen vicitm to one of the most common "canonical url" problems. Here's a reference thread that discusses is quite thoroughly:

Why Does Google Treat "www" & "no-www" As Different? [webmasterworld.com]

The fix is to use a 301 redirect that sends requests to your preferred form of the url, rather than letting both forms resolve. And while you're working on fixing this kind of canonical url problem, you may want to check for and fix as many others as you can, to prevent future troubles. Here's a summary reference you can use:

Canonical URL Issues - including some new ones [webmasterworld.com]

AnkitMaheshwari

6:01 am on Aug 26, 2008 (gmt 0)

10+ Year Member



Thanks Tedster

-Ankit