See 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

how to add canonical tag in html..?

  • 2 Replies
  • 282 Views
*

ruhikhan

  • Full Member
  • ***
  • 204
  • +0/-0
    • View Profile
    • Muslim Vashikaran Solution
how to add canonical tag in html..?
« on: November 21, 2020, 01:13:33 PM »
Hello friends,

how to add canonical tag in html..?

*

Smith_euk

  • Newbie
  • *
  • 9
  • +0/-0
  • Passionate Blogger and Digital Analyst
    • View Profile
    • eUKHost - Managed Web Hosting
Re: how to add canonical tag in html..?
« Reply #1 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>

*

sinelogixtech

  • Hero Member
  • *****
  • 1947
  • +0/-0
    • View Profile
Re: how to add canonical tag in html..?
« Reply #2 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.

 

Learn 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