Google supporting rel=”canonical” HTTP Headers!

Discussion in 'SEO' started by nintynine, Jun 23, 2011.

  1. #1
    Google start’s supporting canonical supporting HTTP header’s.Google made the change’s according to the webmaster’s feedback.The HTTP header’s syntax is described in details here:section 5 of IETF RFC 5988.

    On a WebmasterCentral Blogpost Pierre Far, Webmaster Trends Analyst, notified this enhanced addition.He wrote”

    To see the rel=”canonical” HTTP header in action, let’s look at the scenario of a website offering a white paper both as an HTML page and as a downloadable PDF alternative, under these two URLs:

    http://www.example.com/white-paper.html
    http://www.example.com/white-paper.pdf

    In this case, the webmaster can signal to Google that the canonical URL for the PDF download is the HTML document by using a rel=”canonical” HTTP header when the PDF file is requested; for example:

    GET /white-paper.pdf HTTP/1.1

    Host: www.example.com

    (...rest of HTTP request headers...)

    HTTP/1.1 200 OK

    Content-Type: application/pdf

    Link: <http://www.example.com/white-paper.html>; rel="canonical"

    Content-Length: 785710

    (... rest of HTTP response headers...)

    Another common situation in which rel=”canonical” HTTP headers may help is when a website serves the same file from multiple URLs (for example when using a content distribution network) and the webmaster wishes to signal to Google the preferred URL.
    ”

    To know more about canonical link element,watch this video:

    [video=youtube;Cm9onOGTgeM]http://www.youtube.com/watch?v=Cm9onOGTgeM&feature=player_embedded[/video]

    Published by Anirban Das,Zebra Techies,India
     
    nintynine, Jun 23, 2011 IP
  2. shinki

    shinki Peon

    Messages:
    298
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Thanks for such a nice information.
     
    shinki, Jun 30, 2011 IP
  3. Digitalisextremis

    Digitalisextremis Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Be careful with this, I've heard that it can be used to redirect your traffic if your site is hacked.
     
    Digitalisextremis, Jun 30, 2011 IP
  4. gokhanfil

    gokhanfil Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks for sharing :)
     
    gokhanfil, Jul 1, 2011 IP
  5. jacklavis

    jacklavis Greenhorn

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #5
    Nice Post!!! Thanks for this information.
     
    jacklavis, Jul 1, 2011 IP