undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. Moz Tools
  3. Moz Bar
  4. Only One Canonical URL Tag

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Only One Canonical URL Tag

Moz Bar
3
11
1.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • M-J-Smith
    M-J-Smith Subscriber last edited by Mar 14, 2017, 2:46 PM

    HI, I'm an SEO novice - company owner with no money so doing it all myself with help from my web designer using wordpress.  Ive just completed some seo and done the moz page scoring analysis for optimisation and gained 92% - however - there is one outstanding issue on canonical url tags - i.e.

    recommened fix = The canonical URL tag is intended to refer duplicate pages to a single canonical URL. To ensure the search engines properly parse the canonical source, your page should use only one version of this tag in the header. See Canonical URL Tag - the Most Important Advancement in SEO Practices Since Sitemaps

    Ive gone through the page code and can see I have 2 rel=canonical references - am I able to simply delete one - how do I do this if its been created by the yoast/wordpress plug-in?

    Many thanks in advance for any help!

    1 Reply Last reply Reply Quote 0
    • BlueprintMarketing
      BlueprintMarketing @M-J-Smith last edited by Mar 24, 2017, 4:11 AM Mar 24, 2017, 4:11 AM

      Smart move. Let me know if I can be of any more help then does this answer your question?

      1 Reply Last reply Reply Quote 0
      • M-J-Smith
        M-J-Smith Subscriber last edited by Mar 21, 2017, 1:43 PM Mar 21, 2017, 1:43 PM

        hi thomas, yes - we are keeping the yoast plug-in but switching the rss feed plug-in to a different one that will enable us to switch off the canonical ref.

        BlueprintMarketing 1 Reply Last reply Mar 24, 2017, 4:11 AM Reply Quote 0
        • BlueprintMarketing
          BlueprintMarketing @M-J-Smith last edited by Mar 21, 2017, 1:37 PM Mar 21, 2017, 1:35 PM

          You have an RSS feed that is adding a canonical to your own site?

          RSS normally can add canonical's to third-party sites I don't think that the issue is Yoast I believe it is with the RSS post importer.

          this is the second best SEO plugin you can use

          https://wordpress.org/plugins/all-in-one-seo-pack/

          every decent word press seo  plugin will add canonical's you can choose to turn off canonical's on Yoast however I would do this using the RSS post importer

          http://www.shoutpedia.com/how-to-remove-canonical-tagging-system-applied-by-yoasts-wordpress-seo-plugin/

          In case your are using WordPress SEO plugin, you’ll have to add a filter in the functions.php file just before the closing of PHP as shown in the screenshot below.

          Seefunctions.php-1

          http://i.imgur.com/cr7IU4W.jpg

          Here is the exact code:
          add_filter( 'wpseo_canonical', '__return_false' );
          It will disable canonical tags across the site and no page, no post and no archive will show this tag. But if you want to disable tagging function on certain posts, pages or category archives, you’ll have to use this code instead of the code mentioned above.
          function wpseo_canonical_exclude( $canonical ) {global $post;if (is_single( '348' )) {$canonical = false;}return $canonical;}
          As you know every post, page, category or any another archive has its own unique ID in the wordpress. So in the above example we used 348 which is the post ID for a specific post where the canonical tag will not show. If you don’t know how to find the ID, here is a good article for you. To hide this tag from multiple posts, use this code.
          function wpseo_canonical_exclude( $canonical ) {global $post;is_single( array( 17, 19, 1, 11 ) ) {$canonical = false;}return $canonical;}

          https://youtu.be/xG_XN4IFteE

          I still strongly recommend that you keep the canonical on via plug-in and not via RSS there are too many things that it could miss and cause problems for you.

          I hope this helps,

          Tom

          d866vYa.png czl1NxE.jpg cr7IU4W.jpg

          1 Reply Last reply Reply Quote 0
          • M-J-Smith
            M-J-Smith Subscriber last edited by Mar 21, 2017, 1:17 PM Mar 21, 2017, 1:17 PM

            HI Tom, thankyou very much for your help and information on this.  We have now investigated where the second canonical url was coming from and we found that the plugin we use to import the daily feed (RRS Post Importer) is also adding in it’s own canonical URL (as well as the yoast seo).  We are now going to look at switching in a different plug-in for this which will give us functionality to delete the rel-canonical reference, as the one we have doesn't enable you to do this.

            Again, thanks for your help.

            Kind regards

            Matthew

            BlueprintMarketing 1 Reply Last reply Mar 21, 2017, 1:35 PM Reply Quote 0
            • BlueprintMarketing
              BlueprintMarketing @M-J-Smith last edited by Mar 16, 2017, 3:59 AM Mar 16, 2017, 3:54 AM

              here is a CSV file showing the pages with more than one canonical you must make it so there's only one canonical per a page

              here is the CSV

              https://cl.ly/413X0m06282Q

              Bigger photo http://i.imgur.com/cqcTN0h.png

              <colgroup><col width="420"> <col width="184"> <col span="3" width="87"> <col width="199"> <col width="304"> <col span="3" width="87"></colgroup>
              | Directives - Canonical |   |   |   |   |   |   |   |   |   |
              | Address | Occurrences | Meta Robots 1 | X-Robots-Tag 1 | Meta Refresh 1 | Canonical Link Element 1 | Canonical Link Element 2 | HTTP Canonical | rel=“next” | rel=“prev” |
              | http://www.completetenders.com/services/bid-management/ | 3 | noodp |   |   | http://www.completetenders.com/services/bid-management/ | http://www.completetenders.com/services/bid-management/ |   |   |   |
              | http://www.completetenders.com/ | 2 | noodp |   |   | http://www.completetenders.com/ |   |   |   |   |
              | http://www.completetenders.com/services/tendering-process/ | 3 | noodp |   |   | http://www.completetenders.com/services/tendering-process/ | http://www.completetenders.com/services/tendering-process/ |   |   |   |
              | http://www.completetenders.com/services/tender-writing/ | 3 | noodp |   |   | http://www.completetenders.com/services/tender-writing/ | http://www.completetenders.com/services/tender-writing/ |   |   |   |
              | http://www.completetenders.com/open-tenders/ | 2 | noodp |   |   | http://www.completetenders.com/open-tenders/ |   |   |   |   |

              all the best,

              Tom

              cqcTN0h.png

              1 Reply Last reply Reply Quote 0
              • BlueprintMarketing
                BlueprintMarketing @M-J-Smith last edited by Mar 28, 2017, 7:15 AM Mar 16, 2017, 3:51 AM

                I just checked the URL you referenced you have duplicate  canonical tags I checked it using  screamingfrog.co.uk/seo-spider/

                please look at the data below.

                You need to remove one of them you should only have one.

                so instead of this

                1. Canonical Link Element 1 http://www.completetenders.com/services/bid-management/
                2. Canonical Link Element 2 http://www.completetenders.com/services/bid-management/

                you get

                1. Canonical Link Element 1 http://www.completetenders.com/services/bid-management/

                See

                URL Encoded Address http://www.completetenders.com/services/bid-management/
                Content text/html; charset=UTF-8
                Status Code 200
                Status OK
                Size 150645
                Title 1 Bid Management / End-to-end Tendering Support
                Meta Description 1 Professional Bid Management Consultants / Bid Solutions to Win Contracts / Everything You Need / Expert Advice on 07429 191305
                H1-1 Bid Management
                H2-1 Bid Management
                H2-2 View More
                Meta Robots 1 noodp
                Canonical Link Element 1 http://www.completetenders.com/services/bid-management/
                Canonical Link Element 2 http://www.completetenders.com/services/bid-management/
                Word Count 723
                Level 0
                Inlinks 14
                Outlinks 23

                1 Reply Last reply Reply Quote 1
                • BlueprintMarketing
                  BlueprintMarketing @M-J-Smith last edited by Mar 28, 2017, 7:15 AM Mar 16, 2017, 3:44 AM

                  Look at your source code on these pages use command-F (on Mac) or control F (on PC) to search for the term "canonical" if you do not see it more than once on the page it should be no issue.

                  "the only difference I can see is the first one uses '...'  and the second one uses "..."

                  The canonical link? If there are two canonical bags on the same page make sure to remove the one that is not pointing to your preferred page or make sure the canonical is self-referencing. But make certain there are no more than one canonical tag like this below

                  Look for

                  Also, I would use

                  • https://www.deepcrawl.com/  allowing free site crawls right now
                  • and/or
                  • https://www.screamingfrog.co.uk/seo-spider/  free up to 500 pages.

                  Just to confirm you do not have duplicate canonical's both tools will let you know for sure is will checking the source code of the page that is flagged.  if it does not have duplicates I would report it to The Moz they are awesome at getting back to you and answering these types of issues if there is in fact only one canonical per a page.

                  I hope that helps,

                  Tom

                  1 Reply Last reply Reply Quote 1
                  • M-J-Smith
                    M-J-Smith Subscriber last edited by Mar 15, 2017, 6:48 AM Mar 15, 2017, 6:48 AM

                    Hi Gents, thanks for your replies.

                    Tom - Ive looked in detail at both the canonical references in the header on my page at they both look the same -

                    Line 23 -

                    href='http://www.completetenders.com/services/bid-management/' />

                    Line 133 –

                    href="http://www.completetenders.com/services/bid-management/" />

                    the only difference I can see is the first one uses '...'  and the second one uses "..."

                    can you confirm if I should amend this in yoast or whether this is something that only moz is picking up as two different canonicals?

                    BlueprintMarketing 3 Replies Last reply Mar 16, 2017, 3:54 AM Reply Quote 0
                    • BlueprintMarketing
                      BlueprintMarketing last edited by Mar 28, 2017, 7:15 AM Mar 15, 2017, 4:38 AM

                      you are correct you should only have one canonical tag on a page Max

                      Because you're using WordPress Yoast SEO plug-in I can tell you that it automatically adds canonical URL for you when you are modifying thing that should be pointing somewhere else you have to go into the advanced area in the photo below.

                      So all of these URLs would show the same content:

                      • http://example.com/wordpress/seo-plugin/  you would want to point them all to the first URL  via canonical
                      • http://example.com/wordpress/seo-plugin/?isnt=it-awesome
                      • http://example.com/wordpress/seo-plugin/?cmpgn=twitter
                      • http://example.com/wordpress/seo-plugin/?cmpgn=facebook

                      for more information on how to use that plug-in and remember only one per page and if the page is duplicate content pointed to the page that you want Google to assume is the owner of that content.

                      If you get stuck ask me or reference this below.

                      https://yoast.com/rel-canonical/

                      All the best,

                      Tom

                      HZT9zKG.png

                      1 Reply Last reply Reply Quote 1
                      • Martijn_Scheijbeler
                        Martijn_Scheijbeler last edited by Mar 14, 2017, 8:36 PM Mar 14, 2017, 8:36 PM

                        Hi,

                        You could, but I would try to find out where the other one is coming from. Basically the second rel canonical tag will overwrite the first in most cases. So trying to find out how you delete one with keeping the right one would make most sense. You're at least on the right path!

                        Martijn.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        1 out of 11
                        • First post
                          1/11
                          Last post

                        Got a burning SEO question?

                        Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                        Start my free trial


                        Browse Questions

                        Explore more categories

                        • Moz Tools

                          Chat with the community about the Moz tools.

                        • SEO Tactics

                          Discuss the SEO process with fellow marketers

                        • Community

                          Discuss industry events, jobs, and news!

                        • Digital Marketing

                          Chat about tactics outside of SEO

                        • Research & Trends

                          Dive into research and trends in the search industry.

                        • Support

                          Connect on product support and feature requests.

                        • See all categories

                        Related Questions

                        • Pushm

                          Looking for a Tool to Find Referring Pages of Specific URLs

                          Hello Everyone, We are Looking for a Tool to Find Referring Pages of Specific URLs. Please let me know if you know of a Moz tool or another tool for this need. Thanks.

                          Moz Bar | Jun 10, 2019, 6:19 AM | Pushm
                          5
                        • PoppyP

                          80% Spam Score!! Can Any One Help?

                          I have a question about the Spam Score for my website .
                          I have run a Spam Score for https://www.poppyporter.co.uk
                          It has come back with an 80% score because there are 4 links that are apparently from my poppyporter.com domain each with a 69% spam score.
                          This poppyporter.com domain is parked and I have no idea why there are links from it. There are no pages there and there never have been, I've never used the poppyporter.com domain only poppyporter.co.uk.
                          I don't understand why there are links there and why they are making my Spam Score so high.
                          Will they affect my site's SEO? Do I need to worry about them? If so how do I get rid of them?
                          Can you help?
                          Thanks very much Poppy

                          Moz Bar | Dec 5, 2018, 9:15 AM | PoppyP
                          1
                        • alisacromer

                          Need to solve "Oops our crawlers were unable to access" url for new campaign

                          I'm putting the url designfirstkitchenandbath.com and getting the "oops! our crawlers were unable to access the site. Since this site is a potential client, which shows up online, I can't get access to fix the code, plus while I can write a little html I don't feel comfortable working with hard, live code on someonelse's site. Anyone have a simple solution?

                          Moz Bar | Nov 13, 2016, 7:49 PM | alisacromer
                          0
                        • Lepra

                          How to find a list of pages with missing H1 tags

                          An external SEO/PPC agency did an audit of our site a little while back and said that over 10% of our pages were missing an H1 tag. I am trying to find a way to gather a full list of these in order for our web company to fix. I downloaded the Crawl Test report thinking it would include info on tags in there but it doesn't seem to. Is there a different tool I can use that will get me this information?

                          Moz Bar | Jul 19, 2016, 5:41 PM | Lepra
                          0
                        • mediaxplain.nl

                          Moz crawler only crawls one page?!

                          Hello there, I'm using Moz for a while and I'm very pleased with the tool and community. But for the first time I encountered a problem. We are trying to run a crawler for a client's website but only one page (only the homepage) was crawled. We tried to do a test on a more detailed level (maybe there is something wrong with the homepage). My campaign test's crawl came back for the Producten folder (level deeper than homepage), and it was also only a 1 page crawl with a 200 status. I did look at the robots.txt file now, and it is very restrictive, but there is nothing that I can clearly see that would explain why the crawl isn't working. Hopefully someone can point us at the right direction. Thanks in advance, Jeremy

                          Moz Bar | Sep 4, 2015, 2:18 PM | mediaxplain.nl
                          0
                        • spinoki

                          Getting 'Sorry, but that URL is inaccessible' error msg when trying to run On-Page Grader

                          I just signed up for MOZ Pro for the first time today.  Tried to run the 'on-page grader' tool on some of my pages but I'm getting a 'Sorry, but that URL is inaccessible' error msg.  I have verified against the robot.txt file that the pages are NOT blocking any crawlers. Can anybody help?

                          Moz Bar | Jul 31, 2014, 6:21 PM | spinoki
                          0
                        • tpt.com

                          How to find all 301 redirect for URL xyz.com/products (internal and external)?

                          This is what we are thinking: Get all URL of the xyz.com/products using XENU software. Search  those URL on google (site;xyz.com url ) to find out if they are crawled by google, do the same on bing (as currently google shows 4k URL and bing 11k ) Use opensiteexplorer (301 redirect ) and using (internal external) to get the desired result. Is this the right approach? If not, what is the best way to find the correct result? All suggestions are welcome.

                          Moz Bar | Oct 4, 2013, 6:17 PM | tpt.com
                          0
                        • Prickett

                          Pinterest Back Links Showing For One Website But Not Other in OSE

                          Hello, I have verified my business websites on both of my pinterest accounts for the following websites Http://www.prickettproperties.com and Http://www.ChicFamilyTravels.com The backlinks for prickett shows up in OSE, but not for ChicFamily. I am curious as to why that is? Thanks in advance for your help

                          Moz Bar | Oct 1, 2013, 3:24 PM | Prickett
                          0

                        Get started with Moz Pro!

                        Unlock the power of advanced SEO tools and data-driven insights.

                        Start my free trial
                        Products
                        • Moz Pro
                        • Moz Local
                        • Moz API
                        • Moz Data
                        • STAT
                        • Product Updates
                        Moz Solutions
                        • SMB Solutions
                        • Agency Solutions
                        • Enterprise Solutions
                        Free SEO Tools
                        • Domain Authority Checker
                        • Link Explorer
                        • Keyword Explorer
                        • Competitive Research
                        • Brand Authority Checker
                        • Local Citation Checker
                        • MozBar Extension
                        • MozCast
                        Resources
                        • Blog
                        • SEO Learning Center
                        • Help Hub
                        • Beginner's Guide to SEO
                        • How-to Guides
                        • Moz Academy
                        • API Docs
                        About Moz
                        • About
                        • Team
                        • Careers
                        • Contact
                        Why Moz
                        • Case Studies
                        • Testimonials
                        Get Involved
                        • Become an Affiliate
                        • MozCon
                        • Webinars
                        • Practical Marketer Series
                        • MozPod
                        Connect with us

                        Contact the Help team

                        Join our newsletter
                        Moz logo
                        © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                        • Accessibility
                        • Terms of Use
                        • Privacy

                        Looks like your connection to Moz was lost, please wait while we try to reconnect.