Google Webmaster Tools shows different rank for www and no-www

Discussion in 'Search Engine Optimization' started by hartwm, Jan 31, 2010.

  1. #1
    so i got a site that is listed as zzzzz.com and www.zzzzz.com and they rank different in google webmaster tools under the exact same search term....why is this??? how do i correct??? (thats not the actual domain)

    please help...sorry for the n00b question :)
     
    hartwm, Jan 31, 2010 IP
  2. Canonical

    Canonical Well-Known Member

    Messages:
    2,223
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    110
    #2
    What you're describing is a result of URL canonicalization issues. Search engines rank unique URLs. The www and non-www version of a URL are seen as different web pages... and can have different Page Rank... and rank differently in the SERPs for different keyword phrases.

    Every page on your site should have a single canonical ("preferred") URL that you use to render the page. You solve this problem by 301 redirecting all non-canonical URLs for the page to the canonical URL. This eliminates all of the duplicate content issues and split page rank/link juice problems you're seeing that result from canonicalization issues.
     
    Canonical, Jan 31, 2010 IP
    hartwm likes this.
  3. hartwm

    hartwm Member

    Messages:
    141
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #3
    thanks, i looked up how to do it via .htcaccess , but how do i test it?
     
    hartwm, Jan 31, 2010 IP
  4. hsvyas

    hsvyas Peon

    Messages:
    167
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, you can specify a URL that redirects as a canonical URL.
     
    hsvyas, Jan 31, 2010 IP
  5. seo555

    seo555 Peon

    Messages:
    1,035
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes bcz www and non www both r different also effect on backlink, pr and ranking
     
    seo555, Jan 31, 2010 IP
  6. prashant.jain

    prashant.jain Greenhorn

    Messages:
    97
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #6
    This is basically a URL canonicalization problem. Google read www url and non www url as two different domains, and there ranking differs on the basis of back links to www and non www. So the domain having more good quality link back will get higher position and other will get lower position.

    To solve this issue i will suggest you to redirect your lower link back domain to high link back domain. You can do it by 301 redirect. in this way your all the links will link to one single domain and that will get a good position in Search Engines.
     
    prashant.jain, Jan 31, 2010 IP
  7. Canonical

    Canonical Well-Known Member

    Messages:
    2,223
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    110
    #7
    If you want the www version of your URLs to be the canonical form then you can use something like the following in the .htaccess in the root folder of your web:

    If you want the non-www version of your URLs to be the canonical form then you can use something like the following in the .htaccess in the root folder of your web:

    To test, simply update the .htaccess in the root folder of your web (I would suggest putting this at the bottom of the .htaccess since it is a general rule and have redirects for specific URLs at the top) with the appropriate rule above and then test it in a browser.

    If you chose www as your canonical form then request http://example.com and see if you're sent to http://www.example.com/. Request http://example.com/somefolder/somepage.html and see if you're sent to http://www.example.com/somefolder/somepage.html.

    You can use this HTTP Header Tool to view the browser server interaction and see whether a 301 is happening. In the case where you expect a redirect, you should see that the original request for a non-canonical URL returns a 301 HTTP status with a Location value pointing to the canonical. It should then request the canonical URL and return a 200 HTTP status.
     
    Canonical, Feb 1, 2010 IP