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. I have 2 canonical links. Must get rid of one?

    I have 2 canonical links. Must get rid of one?

    On-Page / Site Optimization
    3 2 284
    • 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.
    • Vladone80
      Vladone80 last edited by

      On my wordpress blog, i have 2 canonical links for every single post, like this:

      One is generated by wordpress theme:

      rel='canonical' href='http://site.com/article-title/' />

      The other one is generated by AllinOne seo pack:

      <link rel="<a class="attribute-value">canonical</a>" content="<a class="attribute-value">http://site.com/article-title/</a>" />

      I tried to remove one of them, but if i uncheck from AllinOne, the source code is the same.

      Also, on-page analysis from SeoMoz tells me that i need only one canonical link.

      I don't have errors in Google Webmater Tools.

      What should I do?

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

        Remove the template one. Edit your wordpress template and remove the line code you want.

        1 Reply Last reply Reply Quote 2
        • Vladone80
          Vladone80 last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • ASP Canonical and Internal Linking
            Vijay-Gaur
            Vijay-Gaur
            0
            3
            87

          • Query string parameters and canonical links
            Shawn_Huber
            Shawn_Huber
            0
            4
            2.6k

          • Too many page links warning... but each link has canonical back to main page? Is my page OK?
            Chris.Menke
            Chris.Menke
            0
            2
            139

          • How do I get rid of crawl errors?
            Kurt_Steinbrueck
            Kurt_Steinbrueck
            0
            7
            140

          • Is there any problem up-dating changes on our web say 2 0r 3 time in one day or sould it be 2-3 times a month
            mememax
            mememax
            0
            4
            69

          • WBF told me to get rid of my low contrast footer links...
            DougRoberts
            DougRoberts
            0
            10
            1.5k

          • Optimise duplicate products or canonical link
            LadyApollo
            LadyApollo
            0
            3
            694

          • 100 links on one page
            KeriMorgret
            KeriMorgret
            0
            6
            738

          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