WEB1057 - Canonical links are not defined inside the <head> tag section

Expression Studio 4.0

The canonical link should be defined in the <head> tag section of a page.


A canonical link communicates the preferred version of a URL to search engines. A canonical link is defined in the <head> tag section of a page. If a canonical link is defined outside the <head> tag section, a search engine may ignore it.


Many sites, particularly database-driven sites, can display the same page using different URLs that include session IDs or other parameters. Different links to the same page are indexed as separate pages by search engines, which may reduce the weighting of the hyperlink target page. For example, the following URLs resolve to the same page:

  • http://www.proseware.com/product.php?item=software&category=server

  • http://www.proseware.com/product.php?item=software&category=server&sessionid=1957

If you specify the preferred version of the URL in a canonical link, search engines will treat all duplicate links as pointing to the canonical link, which will better preserve the weighting of the hyperlink target page.


The following is an example of a correctly formatted canonical link.

<link rel="canonical" href="http://www.proseware.com/more.html"/>

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions