The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. On-Page / Site Optimization
    4. "On Page" report says 2 rel canonical urls-how do I fix that?

    "On Page" report says 2 rel canonical urls-how do I fix that?

    On-Page / Site Optimization
    4 3 1.4k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ccare723
      ccare723 last edited by

      I am reviewing my On Page scores and I'm not getting a perfect score bk of this notice:

      No More Than One Canonical URL Tag

      Moderate fix

      <dl>

      <dt>Number of Canonical tags</dt>

      <dd>2</dd>

      <dt>Explanation</dt>

      <dd>The canonical URL tag is meant to be employed only a single time on an individual URL (much like the title element or meta description). To ensure the search engines properly parse the canonical source, employ only a single version of this tag.</dd>

      <dt>Recommendation</dt>

      <dd>Remove all but a single canonical URL tag</dd>

      <dd>HOW do I fix that?</dd>

      <dd>I am using Platinum seo plugin which I have checked "Use canonical urls" and the page in question is</dd>

      <dd>http://adderalldosage.net/general-adderall-dosage/</dd>

      </dl>

      1 Reply Last reply Reply Quote 0
      • JustinTaylor88
        JustinTaylor88 last edited by

        You do indeed have 2 rel=canonical links on that page.

        It looks as though Platinum SEO plug in is adding one in (its situated withing the

        1 Reply Last reply Reply Quote 0
        • cprasad
          cprasad last edited by

          Hi,

          Your problem is very easy to solve. When I look in to your source of your page. I can see those 2 canonical urls.

          The first one is on line number 13 and the second one is on line number 19 (See attached image)

          For you, I think the easiest one to remove is the 1st link, That means find the code to generate the 1st canonical url to generate on line number 13 and simply remove that code or change the code as suitably.

          It will solve your issue.

          Regards

          Prasad

          QaBJy.png

          ccare723 1 Reply Last reply Reply Quote 0
          • ccare723
            ccare723 @cprasad last edited by

            Thank you both! So wordpress is generating one and platinum seo is too. I'm going to try this entry into the themes' function.php:

            # Remove WordPress' canonical links remove_action('wp_head', 'rel_canonical');

            Fingers crossed...!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Rel="canonical" link should they be to or from an "SEO friendly" url
              AlanBleiweiss
              AlanBleiweiss
              0
              3
              759

            • Rel="canonical" at the same page
              StreamlineMetrics
              StreamlineMetrics
              0
              2
              61

            • What is the danger of adding rel="prev" and rel="next"...
              SErOb
              SErOb
              0
              2
              129

            • How to determine what is causing an "F" on-page Report ?
              enotes
              enotes
              0
              3
              109

            • "Canonical URL Tag Usage" recommendation in SEOmoz "On-Page Optimization" Tool
              Kotkov
              Kotkov
              0
              2
              503

            • Replacing "_" with "-" in url, results in new url?
              loopyal
              loopyal
              0
              8
              21.0k

            • My report also notes that I have 176 Rel Canonical. What does this mean and how do I fix it. Thanks
              eunaneunan
              eunaneunan
              0
              2
              431

            • Avoiding "Duplicate Page Title" and "Duplicate Page Content" - Best Practices?
              WesleySmits
              WesleySmits
              5
              29
              17.8k

            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
            • Digital Marketers
            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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy