how to add canonical tag in html..?

Started by ruhikhan, November 21, 2020, 01:13:33 PM


Smith_euk

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>

sinelogixtech

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.

Citywebpuneind

Setting canonicals using rel="canonical" HTML tags
Using a rel=canonical tag is the simplest and most obvious way to specify a canonical URL

Electrum IT Solutions

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.

More About Our Webmaster Tools for Windows and Mac

HTML, image, video and hreflang XML sitemap generatorA1 Sitemap Generator
      
website analysis spider tool for technical SEOA1 Website Analyzer
      
SEO tools for managing keywords and keyword listsA1 Keyword Research
      
complete website copier toolA1 Website Download
      
create custom website search enginesA1 Website Search Engine
      
scrape data into CSV, SQL and databasesA1 Website Scraper