SEO Question Answer

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 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 by suresh (600 points)
Welcome to Digital Marketing Q&A, where you can ask questions and receive answers from other members of the community.
9 questions
6 answers
0 comments
1 user