Webmaster Forums - Website and SEO Help

Search Engines and Marketing => Website Crawling and Indexing => Topic started by: ruhikhan on November 21, 2020, 01:13:33 PM

Title: how to add canonical tag in html..?
Post by: ruhikhan on November 21, 2020, 01:13:33 PM
Hello friends,

how to add canonical tag in html..?
Title: Re: how to add canonical tag in html..?
Post by: Smith_euk on November 26, 2020, 05:05:21 AM
A canonical tag defines the search engine that a specific URL represents the master or main copy of a webpage. By using canonical tag one can prevent the difficulty of duplicate content displaying on multiple URLs.
As we all know that Google or other search engines penalize URLs with duplicate content so canonical tags are the solution.
In other words, if you have any duplicate content on different URLs we can make it clear to the search engine by using a canonical tag which one is the main URL and which one has to be indexed.
Here is the syntax of the canonical tag in HTML:
<head>
   <link rel="canonical" href="canonical/main URL here" />
</head>
Title: Re: how to add canonical tag in html..?
Post by: sinelogixtech on December 15, 2020, 04:48:05 AM
To add a canonical tag in HTML simply follow the simple steps as:

Open up your .hataccess file.
Add in the Header add Link command to create the canonical tag.
Submit the URL to Google Search Console Fetch & Render to get the canonical crawled.
Title: Re: how to add canonical tag in html..?
Post by: Citywebpuneind on November 20, 2021, 07:37:17 AM
Setting canonicals using rel="canonical" HTML tags
Using a rel=canonical tag is the simplest and most obvious way to specify a canonical URL
Title: Re: how to add canonical tag in html..?
Post by: Electrum IT Solutions on June 28, 2022, 05:57:56 AM
The canonical link belongs in the <head> section of your website.

This is what it looks like.

<link rel="canonical" href="https://electrumitsolutions.com" />
Placing this tag on a page tells search engines that the original copy of this content lives at the address listed in the href attribute.

Any links or ranking juice that was pointing to the current page will then be directed to the link supplied in your canonical tag.

Now, you can have multiple similar pages. Instead of Google punishing you for duplicating content, all of your backlinks will be combined in a sense and boost the reputation of the original page.