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 Header Location

    Rel=Canonical Header Location

    Technical SEO Issues
    6 4 329
    • 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've been trying to get our rel=canonical issues sorted out. A fellow named Ayaz very kindly pointed out that I'm trying to put the code into the wysisyg editor, but this might not be the best place to put the code.

      We are using Drupal 6. Where do I insert the code?

      head>

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

      Thanks!

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

        As far as my knowledge goes, in any and every CMS system and language Rel canonical is best to put under the head tag so i guess you are going fine!

        OTSEO 1 Reply Last reply Reply Quote 0
        • Personnel_Concept
          Personnel_Concept last edited by

          yeah I agree with Moosa, rel canonical goes in header.

          for more info checkout this info on rel canonical by Google support

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

            Hi Moosa and Vikas,

            Thanks so much for the replies. When I go to the blog page there are several fields that can be filled out. It's a basic Drupal content page. I'm not sure which area to put the header information in? It sounds like it doesn't go in the cms editor, but the other areas don't say HEADER or anything obvious like that.

            Any thoughts?

            Thanks!

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

              Are you using Nodewords? http://drupal.org/project/nodewords

              The canonical tag should appear just below the regular node where you add meta description etc.  This will put it in as it is supposed to be.  You can also integrate it with tokens so that it grabs the absolute URL.

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

                Hi Mike,

                That's really helpful. Right now we are using "Metatags" so I'll see if we can import that module. I'll have to see if they conflict or not, but you might have solved the problem. Your suggestion is really appreciated - thanks!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Rel=canonical Weebly
                  Jbarron1501
                  Jbarron1501
                  0
                  6
                  1.1k

                • Meta data & xml sitemaps for mobile sites when using rel="canonical"/rel="alternate" annotations
                  Dr-Pete
                  Dr-Pete
                  0
                  2
                  714

                • 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

                • Categories and rel canonical
                  Dr-Pete
                  Dr-Pete
                  0
                  9
                  561

                • Rel Canonical Question
                  Vahe.Arabian
                  Vahe.Arabian
                  0
                  4
                  530

                • Rel=Canonical being ignored?
                  Cyrus-Shepard
                  Cyrus-Shepard
                  0
                  2
                  509

                • Rel-canonical tag
                  Dan-Petrovic
                  Dan-Petrovic
                  0
                  3
                  709

                • 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