In-depth analysis of SEO canonical tag detailed

Source: Internet
Author: User

Canonical (authoritative link tag) is the 09, Google,yahoo and Microsoft three seo/seo.html "target=" _blank > Search engine jointly launched a proposal to reduce duplication of content, not an order, That means the tag search engine may not comply. China's largest Chinese search engine Baidu has also supported the canonical tag.

Some search engines have introduced a new attribute of link canonical. A page statement b for authoritative links, b statement C as authoritative page, the search engine will consider C is a and B common preferred authoritative version. At this point the canonical tag played a role of 301 redirect.

First, the use of canonical

To put it simply, you add this code to the header of the HTML file.

<link rel= "canonical" Href= "http://www.example.com/product.php?item=swedish"/> Meaning is that the website's standardized web site should be: http:// Www.example.com/produt.php?item=swidish-fish

The following URLs can be added to the canonical tag:

Http://www.example.com/produt.php?item=swidish-fish&category-candy

http://www.example.com/product.php?item=swedish&trackingid=1234&sedssionid=5687 the normalized URL of these URLs becomes: http:// Www.example.com/produt.php?item=swidish-fish

Canonical label is equivalent to a page of 301 turn, the difference is that the user is not turned, or stay on the original web site, and the search engine will take it as a 301 turn processing, the weight of the page to focus on the label specified in the standardized web site.

Also need to note:

1, the label is just a suggestion or hint, not a directive, he is not like a document that is a command. So the search engine will consider this label to a large extent, but not 100%. The search engine will also consider other circumstances to interpret the normalized web site.

2, the label can use the absolute address, also can use relative address

3, the designated content on the normalized web site, and. Other non-standard URLs that use this label can be different, not necessarily exactly the same.

4, the designated standard URL can be nonexistent page, return 404, can also be not included in the page

Some Web sites because of technical limitations can not do 301 turn, canonical tag is very flexible, do not need any special server components or functions, directly written in the page HTML can be.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.