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. Should I leave away the http when using the canonical tag

    Should I leave away the http when using the canonical tag

    On-Page / Site Optimization
    5 4 67
    • 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.
    • MichaelJanik
      MichaelJanik last edited by

      My site redirects http://www.anydomainblabla.com to www.anydomainblabla.com

      So I guess I have to do it like this

      Is that correct?

      Big thanks for your time.

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

        Hi Michael,

        I assume you are using 301 for redirects http://www.anydomainblabla.com to www.anydomainblabla.com, If yes what is the purpose of using rel="canonical". If not please  let us know.

        Thanks

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

          I see a lot of content theft from my site short-funny.com. And they rank better for my jokes that I wrote. So if somebody copy the whole website Google will know that my site is the right one. Plus the Moz analysis showed that I should use it. I need somehow to stop content scrapers.

          1 Reply Last reply Reply Quote 0
          • Linda-Vassily
            Linda-Vassily last edited by

            I'm a bit confused. The http part is the protocol. You sometimes don't see it written out in the URL bar when you are on a page, but it is still there. For your canonical, use the whole thing, including the http. You can read more about it here.

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

              When using the canonical ensure you use the full URL. There are multiple protocols that can be addressed at a domain, for example, ftp, so including the http:// would be best practise.

              A side note about canonicals, if in the future you are planning on moving to https then ensure you update your canonicals. Depending on how you currently deploy your website; WordPress etc, you could use a simple php script to store a variable of protocol which will change globally if the file is updated.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Tag Clouds in Google Despite Canonical Links for Single Tags/Articles
                CopBlaster.com
                CopBlaster.com
                0
                2
                121

              • Can you use the canonical tag and rel=next and rel=prev on category pages.
                Palmbourne
                Palmbourne
                0
                4
                760

              • I'm using Canonical URL but still receiving message - Appropriate Use of Rel Canonical
                KeriMorgret
                KeriMorgret
                0
                7
                85

              • Canonical tag?
                KarlBantleman
                KarlBantleman
                0
                4
                209

              • Rel canonical tag
                sjrh43
                sjrh43
                0
                4
                341

              • Which Canonical URL Tag tag should we remove?
                evolvingSEO
                evolvingSEO
                0
                4
                545

              • Do we need to use the canonical tag on non-indexed pages?
                oneresult
                oneresult
                2
                11
                1.4k

              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