IWD-footer-line


Archives



Share







21 Jun

Google HTTP rel=”canonical” Header support



Google’s search now supports the rel=”canonical” HTTP header allowing for canonical page and file linking (HTML and other formats)

The feature, though just introduced, only supports link headers for the Google web search but Google is hoping to increase support over time depending on how webmasters choose to use said elements. Google also introduced potential examples for how to implement canonical linking.

The example details a website which offers a white paper both as an HTML page and downloadable PDF. The PDF can be used as a substitute for the .HTML equivalent with the use of canonical:

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...)

 

Source – Google Webmaster Central Blog



Tags: , , , , ,
Posted in Internet, Web Design | 2 Comments »


0 Responses

2 Responses to Google HTTP rel=”canonical” Header support

  1. Levitra says:

    Great resource! I’ve just shared it on Facebook.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>