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
              • Can you use the canonical tag and rel=next and rel=prev on category pages.
                Palmbourne
                Palmbourne
                0
                4
                760

              • Using Canonical Tags on Every Page
                Ksink
                Ksink
                0
                6
                2.5k

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

              • My company's product is referred to by two different names (SVN and Subversion). When cleaning up our Title tags, is it OK to use either name to keep the title tags around 70 characters?
                johnny122
                johnny122
                0
                2
                168

              • Canonical Tag
                Martijn_Scheijbeler
                Martijn_Scheijbeler
                0
                4
                104

              • Canonical tag?
                KarlBantleman
                KarlBantleman
                0
                4
                209

              • Rel canonical tag back to the same page the tag is on?
                Dr-Pete
                Dr-Pete
                0
                7
                7.1k

              • 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