What is rel=canonical tag and what is the use of It?

0 votes
Why should we use canonical tag and how to use it?
asked Nov 22, 2016 in SEO by Raman
retagged Aug 31, 2017 by suresh

1 Answer

0 votes
Canonical tag prevents indexing of duplicate web pages indexing. If you have multiple web pages with same content, then by using rel="canonical" tag you can define which pages should be indexed by search engines (crawlers).

Canonical tag syntax is as below:

<link rel="canonical" href="https://example.com/page-name/" />

Example to use: There are two webpages pagename1 and pagename 2 with same content (for some purpose) then you can control which page should index. If pagename1 needs to index then pagename2 should have canonical tag which points pagename1 URL .

Canonical tag resides within <head></head> tag, because this is only for crawler purpose but not for user.
answered Aug 31, 2017 by suresh (930 points)

Related questions

0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
Welcome to SEO Questions Answer Forum, where you can ask questions and receive answers from expert members of the community.
35 questions
22 answers
1 comment
1 user