ahrefs.com – Canonical Tags: A Simple Guide for Beginners

Canonical tags help to combat duplicate content issues. They tell search engines like Google to index and rank the right pages. Here's how to use them.

Page Meta Tags

viewport width=device-width, initial-scale=1.0
msapplication-tilecolor #f38300
theme-color #ffffff
description Canonical tags help to combat duplicate content issues. They tell search engines like Google to index and rank the right pages. Here's how to use them.
robots index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1
twitter:card summary_large_image
twitter:description Learn how to avoid duplicate content issues with canonical tags.
twitter:creator @JoshuaCHardwick
twitter:site @ahrefs
twitter:label1
twitter:data1
twitter:label2
twitter:data2

Page Headers

0 HTTP/1.1 200 OK
Server nginx
Date Fri, 06 Nov 2020 01:52:31 GMT
Content-Type text/html; charset=UTF-8
Connection close
Vary Array
Set-Cookie PHPSESSID=16caqs0klanv15f2d4o6van7pt; path=/
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control max-age=172800, private, must-revalidate
Pragma no-cache
X-Pingback https://ahrefs.com/blog/xmlrpc.php
Link Array
Strict-Transport-Security max-age=63072000
X-Frame-Options SAMEORIGIN
Content-Security-Policy frame-ancestors ‘self’
X-Request-ID 1372c38f18c608034289dbd2ef7f4601

Keyword Frequency

canonical 187
page 85
you 70
that 57
google 49
https 47
com 47
pages 45
it 44
url 43

Keyword Cloud

Canonical Tags A Simple Guide for Beginners Introducing Ahrefs Webmaster Tools Free SEO audits backlink and keyword data Learn more nbsp Brought to you by a data-driven marketing toolset powered huge index of backlinks keywords content Enjoyed the Read Don t miss our next article Email Subscription General Technical SEOCanonical Joshua Hardwick Updated April English DeutschEspa ol Head Content or in plain I’m guy responsible ensuring that every blog post we publish is EPIC Article stats Monthly traffic Linking websites Shares Data from Explorer Shows how many different are linking this piece As general rule link higher rank Google estimated monthly search according The actual as reported Analytics usually times bigger number was shared on Twitter Facebook Share articleContents Looking learn what canonical tags use them avoid dreaded duplicate issues nothing new They ve been around since best part decade Microsoft Yahoo united create Their aim To provide website owners with way solve quickly easily Do they work Yes perfectly but only if know In guide ll What tag isWhat looks likeWhy important Canonicalization practicesHow implement tagsHow common canonicalization mistakesHow find fix issuesWhat rel snippet HTML code defines main version near-duplicate similar pages other words have same available under URLs can specify which one thus should be indexed does look like simple consistent syntax placed within lt head gt section web page href https example com sample-page Here s each means master found at URL Why doesn It makes it harder choose Which relevant queries Whether consolidate equity split between multiple versions Too much also affect your crawl budget That may end up wasting time crawling instead discovering truth about Forcing waste course something avoided possible However states isn an issue most sites If tend crawled day re published not webmasters need focus Likewise site has fewer than few thousand will efficiently all these let tell where any Fail take matters into their own hands don indicate identify think Relying great idea select really want IMPORTANT NOTE respect set always because canonicals hints directives long respected then signals such links Using practices helps mitigate risk seeing undesirable But I do Given probably haven publishing posts easy assume no engines see product color red unique even though identical These called parameterized cause especially ecommerce faceted filtered navigation For Brown Bag Clothing sells shirts This category www bbclothing co uk en-gb clothing html filter XL parameter added Size blue yet another amp Blue separate eyes marginally just fall victim some causes apply types Having parameters e g q search-term session IDs sessionid printable print categories services specials device m AMP non-AMP Serving non-www variants http non-https without trailing slashes default htm php etc capital letters Page situations proper crucial Furthermore cross-domain thing syndicating practice self-referential syndicated prevent showing results help lessen outranking original people deliberately chose syndicate difficult originating source why recommend blocking publishers require hblGLsD ir pic twitter yjtx II j Danny Sullivan dannysullivan September Sidenote Some refuse add cases whether basics implementation Canonicals We discuss four ways doing moment matter method opt there five golden rules remember Rule Use absolute John Mueller relative paths element You either d using so sure interpreted correctly JohnMu October So following structure opposed lowercase Since treat uppercase two first make force server correct domain HTTPS vs HTTP switched over SSL declare non-SSL i Doing theoretically lead confusion unexpected secure ensure opposite true says while mandatory recommended clear us when Even sometimes variations pull perhaps upper lower case All things kind cleaned Trends Analyst unsure works basically points itself were self-referencing would Most modern popular CMS automatically developer hardcode custom per ignore both declarations likely How There known headerSitemap redirect Internal pros cons official documentation Setting simplest obvious Simply canonical-page Example Let say selling yourstore tshirts black-tshirts accessible via offers Note mess easier WordPress Install Yoast Advanced Shopify adds products edit template liquid files directly thread information Squarespace too headers documents PDFs place header standard webpages Imagine PDF host subfolder ahrefs might file OK Content-Type application pdf Link canonical-tags Recommended reading Add Tag Headers sitemaps non-canonical shouldn included Only listed sees sitemap suggested won guarantee consider defining large useful redirects divert away Suppose reachable comexample phpexample home Choose others full implementing Links throughout signal covers used determine AskGoogleWebmasters video youtube watch v hxBw B E preferred mentioned preference prettier Common mistakes somewhat complex topic lot misunderstandings misconceptions canonicalize properly trying Mistake Blocking canonicalized robots txt prevents meaning unable turn transferring noindex Never mix contradictory instructions prioritize here still bad Otherwise XX status effect transfer Canonicalizing paginated root Paginated series Instead stated Reddit improper pointing equivalent incorrect prev pagination longer Bing uses Not hreflang Hreflang language geographical targeting webpage substitute exist ignored happens inserted system theme plugin plugins overwrite option meant Another area problem JavaScript specified response renders swap sending mixed Rel body appear document Where become parsing While location actually constructed browser rendered engine unclosed injected iframes prematurely rendering accidentally thrown pays regularly audit related ASAP Site Audit tool LjinWqfGyVE crawls including those twelve canonical-tag-related warning triggers Search result often indexing wrong Review affected replace dead working codes inaccessible unlikely Replace erroneous valid Check misconfigurations seems temporary occured down maintenance overloaded redirected point authoritative redirecting misinterpret direct returns Duplicate very Because attempt appropriate show themselves groups duplicates Pick Specify across annotations confuse mislead incoming internal visitors Somewhere being directed Non-canonical include Reason list Remove creates chain C chains Open Graph matching mismatch match social networks Make inside must utilize protocols non-secure ranking factor sense Redirect lists HSTS potential solution specifying illogical worth fixing Implement receives organic get happen Either incorrectly chosen Inspection Console investigate Final thoughts aren complicated hard initially Just directive rather user-declared Google-selected classifications Index Coverage Status Report Alternate shows alternate Basically intended user-selected none prefer user submitted selected explicitly marked believes besides shown Any questions me comments Copy linkShareArticle ExplorerSubscribe weekly updates Leave field empty you’re human You’ll receive today Contributors div SearchPick Language EnglishEspa olDeutsch ItalianoMain Keywords Rank TrackerOther Backlink Checker Website Authority Keyword Broken SERP CheckerBest BlogSEO Basics Steps Research GuideLong-Tail GuideComplete Building GuideOn-Page Actionable TipsBlogger Outreach copy Pte Ltd

Uncategorized