sitelogo
  • Home
  • About
  • Services
  • Case Studies
  • Blog
  • Academy
  • Careers
  • Feedback
  • Digital Partner
  • Contact Us

The beginners guide to canonical tags

Posted on 24 Mar 2020

The beginners guide to canonical tags
What is a canonical tag?

A canonical tag also known as ‘rel canonical’ is a snippet of HTML code placed within the <head> section of a web page that tells search engines that a specific URL contains the same content as the master copy of a page. 

The URL with the canonical tag specifies to the search engine that this version of the page is the main one and thus, should be indexed.

 

Importance of canonical tags for SEO?

Canonical tags help Google understand which version of a page to index and rank for relevant queries. They also tell Google where to consolidate or split any “link equity.” 

If you don’t add a canonical tag, Google will identify on its own the best version of the URL. Although this may seem less hectic on your end, it isn’t a great idea to rely on Google to do so since it could select an undesirable version of your page.

Duplicate content pages can also affect your “crawl budget” as Google may end up wasting time crawling these duplicate pages instead of other important content on the site.

 

How to find canonicalisation issues on your site

It’s easy to make mistakes with canonicalization, so it pays to regularly audit your website for issues related to canonical tags and to fix them ASAP.

For this, you can use the SEMRUSH Site Audit tool. This tool scans your site for over 100 SEO issues, including those related to canonical tags.

 

How to add a canonical tag?

 

  • HTML tag (rel=canonical)

 

This is the simplest way to specify a canonical URL. All you have to do is add the following code to the <head> section of the page:

<link rel=“canonical” href=“https://example.com/canonical-page/” />

 

  • HTTP header

 

When there’s no place to add canonical tags in the page headers, for example in PDFs, you’ll have to use HTTP headers to set canonicals. 

P.S. HTTP headers can also be added to standard webpages.

 

  • Sitemap

 

Non-canonical URLs shouldn’t be included in sitemaps. 

 

  • 301 redirects

 

301 redirects help to divert traffic away from a duplicate URL to the canonical URL.

SHARE WITH

Facebook0">Twitter0Linkedin0
X

Related Articles

International SEO
The concept of International SEO deals with the idea of optimising your...
user26 March 2020
Conversion Rate Optimization
Conversion Rate Optimisation is merely a process of increasing the website traffic...
user25 March 2020
Duplicate Content
The content which is available on multiple URLs on the search engine...
user25 March 2020

Interested in working with us?

Hit the button below or give us call!

View Current Openings
footer_logo
  • About Us
  • Services
  • Careers

Product

  • Website Design
  • Graphic Design
  • Content Marketing
  • Analytics

Resources

  • Contact Us

Subscribe to the Newsletter

Newsletter

©2023 Kodework. Digital Transformation Partner - Kilowott

fb twitter linkedin instagram