Google Crawling issues -- WWW vs Non-WWW :(

Discussion in 'Google' started by hardip2057, Jun 30, 2010.

  1. #1
    Hello Friends,

    I am very confused what to do now.

    I have a client site which are already crawled without WWW and my client have got many backlinks with WWW So I can see both www and non-www crawled by Google. Now, he wants to crawl all pages with WWW...what to do now?

    You can see cache without WWW here and with WWW here

    Please suggest me what to do?

    Thanks,
     
    hardip2057, Jun 30, 2010 IP
  2. abraxas

    abraxas Well-Known Member

    Messages:
    1,422
    Likes Received:
    44
    Best Answers:
    1
    Trophy Points:
    125
    #2
    Redirect http only version to the one with WWW. Also might want to redirect your index.html / .php to the domain itself.
    Below is the code to place in your httaccess file:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www
    RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [L,R=301]

    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
    RewriteRule ^index\.html$ http://www.YOUR-DOMAIN-HERE.COM/ [R=301,L]
     
    abraxas, Jul 1, 2010 IP
  3. WishBone

    WishBone Peon

    Messages:
    2,566
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Just follow that permanent redirect command going to www version of your client's site and all backlinks going to non-www version will pass to with www version.
     
    WishBone, Jul 1, 2010 IP
  4. ankurbatla

    ankurbatla Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There are two methods to move out from this situation :

    1. As people have stated above, do the 301 redirection
    2. Go to it's google webmaster central and set the prefrence for WWW or without WWW then by next caching google will only consider one and ignore other url's
     
    ankurbatla, Jul 1, 2010 IP
  5. Sxperm

    Sxperm Notable Member

    Messages:
    4,386
    Likes Received:
    142
    Best Answers:
    0
    Trophy Points:
    225
    #5
    Sxperm, Jul 1, 2010 IP
  6. haveseo

    haveseo Well-Known Member

    Messages:
    995
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #6
    Your client can sets this parameter on Google webmaster tools. He can set it in webmaster tools that Google determine with WWW or without WWW as the same.
     
    haveseo, Jul 1, 2010 IP
  7. hardip2057

    hardip2057 Banned

    Messages:
    1,044
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    218
    Articles:
    1
    #7
    Many thanks buddy..I have just placed this code to htaccess file and Its working fine. I appreciate your help.

    *******************

    Yes, I have already made this changes through CPanel. Thanks of suggestions.

    *******************

    Yes, I have also made changes through Google webmaster tool.

    *******************

    Thanks buddy for good materials. I have reviewed it and understood 301 redirect method.

    *******************

    I have made this changes as well.

    *******************


    Many thanks for your all responses.

    Hope everything gone well.


    With regards,
    Hardip
     
    hardip2057, Jul 1, 2010 IP
  8. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #8
    The best solution..
    Google Webmaster Tools > Site Dashboard > Site Configuration > Settings. At proffered domain, choose the second option to display URLs as www.domain.com

    To be more safe, use htaccess to redirect all non www URLs to www version.
     
    Abhik, Jul 1, 2010 IP
  9. joeflizo

    joeflizo Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    ok...what is better...with WWW or without it? i always use without WWW but sometimes like OP said...the BL i get is with WWW ...that is weird...
     
    joeflizo, Jul 1, 2010 IP