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. Technical SEO Issues
    4. Rel = Canonical in Blog Posting

    Rel = Canonical in Blog Posting

    Technical SEO Issues
    6 2 391
    • 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.
    • OTSEO
      OTSEO last edited by

      Hello,

      I keep coming back to rel=canonical issues!

      I noticed when I "view pagesource" that my drupal blog posting automatically creates

      link rel="canonical" href="/sample-blog-title" /< pattern (with the > reversed) in the source code.

      I'm getting a lot of Rel=Canonical warnings and double content warnings from Seomoz so I've been trying to insert

      link rel="canonical" href="http://www.example.com/blog/my-awesome-blog-post"<

      but the page won't retain the code for some reason. I'm entering the code in Plain Text, but saving the document as Full HTML.

      Is there a better piece of code I can put in to demonstrate that the original blog page is the original source?

      Thanks!

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

        Hello,

        are you adding it in the head area of your html right ?

        OTSEO 1 Reply Last reply Reply Quote 0
        • OTSEO
          OTSEO @wickedsunny1 last edited by

          Hi Ayaz,

          I'm adding it near the bottom of the text. Does it need to be the first line of text in the blog post?

          Thanks!

          wickedsunny1 OTSEO 2 Replies Last reply Reply Quote 0
          • wickedsunny1
            wickedsunny1 @OTSEO last edited by

            Hello again, you are missing the point this code is needed to be added in the head area of your source code, what is your html like

            It is not a part of content/text etc.

            1 Reply Last reply Reply Quote 1
            • wickedsunny1
              wickedsunny1 last edited by

              take a look at this, it will help you activate automatic canonical hopefully : http://drupal.org/project/canonical_url

              1 Reply Last reply Reply Quote 1
              • OTSEO
                OTSEO @OTSEO last edited by

                Hi Ayaz,

                Wow, thanks for the heads up. I've been trying to put the rel=canonical code into the wysisyg editor this whole time.

                So where should the code be placed? It's drupal, so should I make a block on the page where the rel=canonical text is supposed to be placed? what's the best way to put the code into the head of the source code?

                Thanks?

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Should I use a canonical URL for images uploaded to a blog post in Wordpress?
                  Easigrass
                  Easigrass
                  0
                  3
                  55

                • Panda Cleanup - Removing Old Blog Posts, Let Them 404 or 301 to Main Blog Page?
                  eBoost-Consulting
                  eBoost-Consulting
                  0
                  3
                  458

                • Implement rel canonical on a Blogspot blog
                  ProjectLabs
                  ProjectLabs
                  0
                  5
                  2.5k

                • After I 301 redirect duplicate pages to my rel=canonical page, do I need to add any tags or code to the non canonical pages?
                  Mike.Goracke
                  Mike.Goracke
                  0
                  2
                  125

                • Moving content from CMS pages to a blog - 301 or rel canonical?
                  TakeshiYoung
                  TakeshiYoung
                  0
                  4
                  187

                • What Happens to the Existing YouMoz Blog Post URL If It Is Promoted to the Main SEOmoz Blog?
                  OrionGroup
                  OrionGroup
                  0
                  13
                  796

                • Combining 2 blogs into one. What is quicker, easier and better - rel canonical or an htaccess/ 301?
                  Highland
                  Highland
                  0
                  6
                  232

                • REL Canonical Error
                  BlinkWeb
                  BlinkWeb
                  0
                  4
                  1.1k

                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