Are you want to learn about canonical tags and how to use the canonical tag to avoid dreaded duplicate content issues? Then you are in the right place. I’m going to tell you everything I know about the canonical tag. I will hope that you will find this article helpful about the canonical tag.
The canonical tags link element was introduced by Google, Bing, and Yahoo! in February 2009.
So, without any further delay, let’s start to discuss the canonical tags and their importance.
A canonical tag (as known as rel=canonical) is the way to tell the search engines that a specific URL represents the main page. Using the canonical tag prevents problems caused by identical or “duplicate” content appearing on multiple URLs. It is the way of telling the search engines which version of a URL appears on the search result.
The canonical tags idea is simple. If you have several versions of the same content may be, page/post, then you can use the canonical tag to tell the search engines the preferred version. Just check the below code:
<link rel="canonical" href="https://startupsettings.com/" />
When you post duplicate content on the website then, the search engines can’t understand which content is original and what to index. Canonical tag clarify this and help the search engines understand the content. Using canonical tags is the best practice for SEO. There is no single doubt about that.
For better ranking and proper SEO, you have to add the canonical tag.
You can implement canonical tags quickly. Let’s discuss one by one.
Google’s John Mueller states that it’s best practice not to use relative paths with the rel=“canonical” link element.
You can use:
<link rel=“canonical” href=“https://example.com/sample-page/” />
<link rel=“canonical” href=“/sample-page/”/>
If you are switching http:// to https:// then check your canonical tags and update it to https://
You can use:
<link rel=“canonical” href=“https://example.com/sample-page/”/>
<link rel=“canonical” href=“http://example.com/sample-page/”/>
Use canonical tags a single time. If you put it multiple times then search engines also can ignore your page/post.
There are multiple ways you can add the canonical tag to your website. We will check it one by one.
You can easily add the canonical tag by “rel=canonical” in the HTML. Just add the below code to the <head> section of the website. Replace example.com with your website address.
<link rel=“canonical” href=“https://example.com/” />
If you are using WordPress with the Rank Math SEO plugin like me, then Rank Math will atomically add the canonical tag. Check the below image where you can check the canonical tag for your page/post.
You can also add the canonical tag in the header section for the file type like pdf. In this case, you can’t add the canonical tag in the section. Check the below code as a reference.
HTTP/1.1 200 OK Content-Type: application/pdf Link: <https://example/page/downlaod-pdf/>; rel="canonical"
You can use 301 redirects. With the help of 301 redirects, you can divert your traffic from duplicate content to the canonical version page.
Let’s check some Do and Don’t about the canonical tag.
Now we will check some questions and answers about the canonical tag.
Yes. you can add the canonical tag if you duplicate content. With the help of the canonical tag, you can highlight the main content to the search engines.
The answer is YES and I will highly recommend adding a canonical tag to your website.
You can add the canonical tag to the <head> section of your website/page.
We use the canonical tag for preventing duplicate content issues and rank better in the SERP. With the help of the canonical tag, you can tell the search engines about your original content.
Hi, I am Sandipan Pramanick from Kolkata, India
I am very glad that you are here and checked out my website. I am a professional Graphics, Web Designer and Passionate about SEO, Digital Marketing.
I am in this field around 5+ years. Currently, I am working in a private company as a SEO & Digital Marketing Executive, Asst. Graphics – Web Designer.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
|__cfduid||1 month||The cookie is used by cdn services like CloudFare to identify individual clients behind a shared IP address and apply security settings on a per-client basis. It does not correspond to any user ID in the web application and does not store any personally identifiable information.|
|ARRAffinity||This cookie is set by websites that run on Windows Azure cloud platform. The cookie is used to affinitize a client to an instance of an Azure Web App.|
|AWSALBCORS||7 days||This cookie is used for load balancing services provded by Amazon inorder to optimize the user experience. Amazon has updated the ALB and CLB so that customers can continue to use the CORS request with stickness.|
|cookielawinfo-checbox-analytics||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".|
|cookielawinfo-checbox-functional||11 months||The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".|
|cookielawinfo-checbox-others||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.|
|cookielawinfo-checkbox-advertisement||1 year||The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Advertisement".|
|cookielawinfo-checkbox-necessary||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".|
|cookielawinfo-checkbox-performance||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".|
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
|__cf_bm||30 minutes||This cookie is set by CloudFare. The cookie is used to support Cloudfare Bot Management.|
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
|YSC||session||This cookies is set by Youtube and is used to track the views of embedded videos.|
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
|__gads||1 year 24 days||This cookie is set by Google and stored under the name dounleclick.com. This cookie is used to track how many times users see a particular advert which helps in measuring the success of the campaign and calculate the revenue generated by the campaign. These cookies can only be read from the domain that it is set on so it will not track any data while browsing through another sites.|
|_ga||2 years||This cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assign a randomly generated number to identify unique visitors.|
|_gid||1 day||This cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visted in an anonymous form.|
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
|_fbp||3 months||This cookie is set by Facebook to deliver advertisement when they are on Facebook or a digital platform powered by Facebook advertising after visiting this website.|
|ANONCHK||10 minutes||This cookie is used for storing the session ID for a user. This cookie ensures that clicks from advertisement on the Bing search engine are verified and it is used for reporting purposes and for personalization.|
|fr||3 months||The cookie is set by Facebook to show relevant advertisments to the users and measure and improve the advertisements. The cookie also tracks the behavior of the user across the web on sites that have Facebook pixel or Facebook social plugin.|
|IDE||1 year 24 days||Used by Google DoubleClick and stores information about how the user uses the website and any other advertisement before visiting the website. This is used to present users with ads that are relevant to them according to the user profile.|
|MUID||1 year 24 days||Used by Microsoft as a unique identifier. The cookie is set by embedded Microsoft scripts. The purpose of this cookie is to synchronize the ID across many different Microsoft domains to enable user tracking.|
|test_cookie||15 minutes||This cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies.|
|VISITOR_INFO1_LIVE||5 months 27 days||This cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website.|
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
|_clck||1 year||No description|
|_clsk||1 day||No description|
|_gat_gtag_UA_172320106_1||1 minute||No description|
|AUID||1 year||No description|
|AWSALB||7 days||AWSALB is a cookie generated by the Application load balancer in the Amazon Web Services. It works slightly different from AWSELB.|
|CLID||1 year||No description|
|CONSENT||16 years 9 months||No description|
|conv_person||2 years||No description|
|conv_session||2 years||No description|
|SRM_B||1 year 24 days||No description|
|TRINITY_USER_DATA||1 year||No description|
|TRINITY_USER_ID||1 year||No description|