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. Duplicate content and http and https

    Duplicate content and http and https

    Technical SEO Issues
    16 10 31.7k
    • 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.
    • GKLA
      GKLA last edited by

      I would check your server for a https folder.

      add a robots.txt file in the root of the https folder:

      User-agent: *
      Disallow:/

      My guess is that the spider is following a link somewhere within your site that links to a https:// url.  The spider is than re-indexing the entire site using https://

      My 2 cents for what its worth.

      1 Reply Last reply Reply Quote 0
      • mediabase
        mediabase @Kotkov last edited by

        Hi Serge, I came to know about the "robots_ssl.txt" from the website  http://www.seoworkers.com/seo-articles-tutorials/robots-and-https.html

        1 Reply Last reply Reply Quote 0
        • Dr-Pete
          Dr-Pete last edited by

          I think Harald and James covered the bases here, but a couple of comments on Harald's reply:

          (1) Definitely check this. A common cause of indexed https: pages is that a secure section of your site is being crawled (like a shopping cart), and you're using relative navigation links (like ) - when a crawler or visitor hits the nav link from a secure page, the relative link grabs the https: In most cases, you may want to NOINDEX secure pages. Shopping carts and checkout pages have no business in the search index, IMO.

          [(2)-(5) I believe this does work, but it's very tricky, so please be careful. If anyone has linked to the https: pages, you'll lose the link-juice this way (you'll just cut those pages off). I honestly don't think it's a good choice for most sites.

          (8) I actually believe the 301-redirect is simpler in most cases.

          As James said, sitewide canonical tags (or on the affect pages, if they're isolated) will also work.](/contact.php)

          hawkvt1 GTGshops 2 Replies Last reply Reply Quote 3
          • hawkvt1
            hawkvt1 @Dr-Pete last edited by

            I would personally like to thank everyone that responded with an answer.  Man O Man, the best part of belonging to SEOMOZ is the community forum.  It's incredibly valuable, being able to ask a question and reach out to such talent as all of you.

            If anyone ever gets up to Killington or Okemo skiing, the beer is on me!  I live right between both ski areas, about 8 miles to either mountain..

            Thanks again.

            randfish hawkvt1 2 Replies Last reply Reply Quote 3
            • hawkvt1
              hawkvt1 @JamesNorquay last edited by

              Thanks James..

              Sorry, I was using Big Company as an example and just being generic.

              The real URL if interested is www.hawkresort.com

              1 Reply Last reply Reply Quote 0
              • randfish
                randfish @hawkvt1 last edited by

                Thanks dude! If I make it to Vermont, I might look you up 🙂

                1 Reply Last reply Reply Quote 2
                • hawkvt1
                  hawkvt1 @hawkvt1 last edited by

                  Anytime Rand!  I only have two simple rules:

                  1.  Talking business on ski days is not allowed

                  2.  Entry into Vermont requires a pound of Seattle's best french roast coffee.  In return, you  receive some fantastic Vermont maple syrup.

                  Simple rules to live by LOL

                  Thanks again for all of your help...

                  Peter

                  1 Reply Last reply Reply Quote 5
                  • GTGshops
                    GTGshops @Dr-Pete last edited by

                    Hi,

                    I'm still having problems with redirecting. I only have 1 duplicate page with https and http, that I want to redirect but it's the homepage.

                    i want to redirect: https://www.domain.com to http://www.domain.com

                    But keep the rest of the pages the same (half http and the other half https).

                    How do i do this?

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

                      Hate to respond to a 3 year old thread. But does this solution needs to be updated?

                      Is there any change in response now, as Google is favoring https for most pages. Does google still consider http and https as two different sites? If so which one should be suppressed - http or https?

                      Aji

                      Dr-Pete 1 Reply Last reply Reply Quote 0
                      • Dr-Pete
                        Dr-Pete @ajiabs last edited by

                        If Google detects both http: and https: versions, they've started to automatically pick the https: version, but that's not consistent yet. In general, I think it's still important to set strong canonicalization signals. Google still separates your http: and https: sites in Google Search Console, too, so even they haven't quite made up their minds.

                        In general, Google is pushing sites toward https:, but that's a somewhat complex decision that depends on more than just SEO. If you're using https: and the https: URLs are indexed, then you should treat those as canonical and suppress the http: URLs, in most cases.

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

                          I'm reading this response and this is happening on my site as well.  How did this happen in the first place?  I have duplicate content because of https and http copies of all my web pages.  If I type https://www.mywebsite.com I can't get to my site.  Could this be coming from my hosting company?  I've set up my site to simply be http://www.mywebsite.com.  I'm a little worried to change my robots.txt and I would love to know how this happened in the first place.

                          Dr-Pete 1 Reply Last reply Reply Quote 0
                          • Dr-Pete
                            Dr-Pete @GrowthLedge last edited by

                            Hard to tell without knowing the site, but it's possible there are external links to "https" versions of the pages. At this point, Google is going to increase the pressure to secure sites, and later this year Chrome will start warning users about all non-secure pages, so it may be worth making the move.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post
                            • Switched from and HTTPS to HTTP. My home page is facing a redirect issue from the http to https. Should I no index the HTTP or find the redirect and delete it? Thank you
                              LandmarkRecovery2017
                              LandmarkRecovery2017
                              0
                              3
                              42

                            • #1 rankings on both HTTP and HTTPS vs duplicate content
                              dohertyjf
                              dohertyjf
                              0
                              3
                              110

                            • How bad is it to have duplicate content across http:// and https:// versions of the site?
                              RG_SEO
                              RG_SEO
                              0
                              4
                              155

                            • When is Duplicate Content Duplicate Content
                              AMHC
                              AMHC
                              0
                              6
                              169

                            • How to fix HTTP/HTTPS duplicate content
                              adamxj2
                              adamxj2
                              0
                              3
                              276

                            • Duplicate website with http & https
                              Ratan
                              Ratan
                              0
                              4
                              120

                            • What is the better way to fix duplication https and http?
                              CleverPhD
                              CleverPhD
                              0
                              5
                              162

                            • SEOMOZ and non-duplicate duplicate content
                              DocdataCommerce
                              DocdataCommerce
                              0
                              7
                              269

                            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