undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • MozCon
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Digital Marketers
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    Track AI Overviews in Keyword Research
    Moz Pro

    Track AI Overviews in Keyword Research

    Try it free!
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Digital Marketers

      Simplify SEO tasks to save time and grow your traffic.

    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. Technical SEO
  4. Duplicate content and http and https

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Duplicate content and http and https

Technical SEO
10
16
34.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • hawkvt1
    hawkvt1 last edited by Feb 29, 2012, 2:11 AM

    Within my Moz crawl report, I have a ton of duplicate content caused by identical pages due to identical pages of http and https URL's.

    For example:

    http://www.bigcompany.com/accomodations

    https://www.bigcompany.com/accomodations

    The strange thing is that 99% of these URL's are not sensitive in nature and do not require any security features.  No credit card information, booking, or carts.  The web developer cannot explain where these extra URL's came from or provide any further information.

    Advice or suggestions are welcome!  How do I solve this issue?

    THANKS MOZZERS

    1 Reply Last reply Reply Quote 0
    • Dr-Pete
      Dr-Pete Staff @GrowthLedge last edited by May 28, 2018, 11:47 PM May 28, 2018, 11:47 PM

      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
      • GrowthLedge
        GrowthLedge last edited by May 25, 2018, 8:34 PM May 25, 2018, 8:34 PM

        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 May 28, 2018, 11:47 PM Reply Quote 0
        • topic:timeago_earlier,2 years
        • Dr-Pete
          Dr-Pete Staff @ajiabs last edited by Feb 20, 2016, 8:07 PM Feb 20, 2016, 8:07 PM

          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
          • ajiabs
            ajiabs Subscriber last edited by Feb 18, 2016, 4:01 PM Feb 18, 2016, 4:01 PM

            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 Feb 20, 2016, 8:07 PM Reply Quote 0
            • topic:timeago_earlier,2 years
            • GTGshops
              GTGshops @Dr-Pete last edited by Feb 13, 2014, 8:13 AM Feb 13, 2014, 8:13 AM

              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
              • topic:timeago_earlier,2 years
              • hawkvt1
                hawkvt1 @hawkvt1 last edited by Mar 2, 2012, 4:46 PM Mar 2, 2012, 9:41 AM

                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
                • randfish
                  randfish @hawkvt1 last edited by Mar 2, 2012, 4:39 AM Mar 2, 2012, 4:39 AM

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

                  1 Reply Last reply Reply Quote 2
                  • hawkvt1
                    hawkvt1 @JamesNorquay last edited by Feb 29, 2012, 4:48 PM Feb 29, 2012, 4:48 PM

                    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
                    • hawkvt1
                      hawkvt1 @Dr-Pete last edited by Feb 29, 2012, 4:46 PM Feb 29, 2012, 4:46 PM

                      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 Mar 2, 2012, 9:41 AM Reply Quote 3
                      • Dr-Pete
                        Dr-Pete Staff last edited by Feb 29, 2012, 4:46 PM Feb 29, 2012, 1:42 PM

                        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 Feb 13, 2014, 8:13 AM Reply Quote 3
                        • mediabase
                          mediabase @Kotkov last edited by Feb 29, 2012, 7:07 AM Feb 29, 2012, 7:07 AM

                          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
                          • GKLA
                            GKLA last edited by Feb 29, 2012, 4:41 AM Feb 29, 2012, 4:41 AM

                            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
                            • Kotkov
                              Kotkov last edited by Feb 29, 2012, 4:31 AM Feb 29, 2012, 4:31 AM

                              Harald, " robots_ssl.txt " where did you get that?

                              mediabase 1 Reply Last reply Feb 29, 2012, 7:07 AM Reply Quote 0
                              • mediabase
                                mediabase last edited by Feb 29, 2012, 4:47 PM Feb 29, 2012, 3:07 AM

                                Hello Hawkvt1, Fisrt of all I want to tell you that  the protocols (http/https) are different, they are considered two separate sites, so there’s a good chance to get penalized for duplicate content. If the search engine discovers two identical pages, generally it would take the page it saw first and ignore the other pages.The solutions are described below:

                                S__olutions:

                                1. Be smart about the site structure:  to keep the engines from crawling and indexing HTTPS pages, structure the website so that HTTPs are only accessible through a form submission (log-in, sign-up, or payment pages). The common mistake is making these pages available via a standard link (happens when you are either ignorant or  not aware that the secure version of the site is being crawled and indexed).
                                2. Use Robots.txt file to control which pages will be crawled and indexed
                                3. Use.htaccess file. Here’s how to do this:
                                4. Create a file names robots_ssl.txt in your root.
                                5. Add the following code to your .htaccessRewriteCond %{SERVER_PORT} 443 [NC]RewriteRule ^robots.txt$ robots_ssl.txt [L]
                                6. Remove yourdomain.com:443 from the webmaster tools if the pages have already been crawled
                                7. For dynamic pages like php, try< ?phpif ($_SERVER["SERVER_PORT"] == 443){echo “< meta name=” robots ” content=” noindex,nofollow ” > “;}?>
                                8. Dramatic solution (may not always be possible): 301 redirect the HTTPS pages to the HTTP pages – with hopes that the link juice will transfer over.

                                For more information please refer to this link :

                                http://www.seomoz.org/ugc/solving-duplicate-content-issues-with-http-and-https

                                I'm sure that your problem is solved.

                                1 Reply Last reply Reply Quote 9
                                • JamesNorquay
                                  JamesNorquay last edited by Feb 29, 2012, 2:56 AM Feb 29, 2012, 2:56 AM

                                  You could implement the canonical tag onto the HTTP version of the website.

                                  Another problem when having a quick look at this website is that all your title tags are the same with the brand term at the front, this is not advisable at all you want to put the brand term at the end of the title and your generic terms first.

                                  I would look at getting an SEO audit done to fix the issues with the website.

                                  hawkvt1 1 Reply Last reply Feb 29, 2012, 4:48 PM Reply Quote 1
                                  • 1 / 1
                                  1 out of 16
                                  • First post
                                    1/16
                                    Last post

                                  Got a burning SEO question?

                                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                                  Start my free trial


                                  Browse Questions

                                  Explore more categories

                                  • Moz Tools

                                    Chat with the community about the Moz tools.

                                  • SEO Tactics

                                    Discuss the SEO process with fellow marketers

                                  • Community

                                    Discuss industry events, jobs, and news!

                                  • Digital Marketing

                                    Chat about tactics outside of SEO

                                  • Research & Trends

                                    Dive into research and trends in the search industry.

                                  • Support

                                    Connect on product support and feature requests.

                                  • See all categories

                                  Related Questions

                                  • netzkern_AG

                                    Duplicate content through product variants

                                    Hi, Before you shout at me for not searching - I did and there are indeed lots of threads and articles on this problem. I therefore realise that this problem is not exactly new or unique. The situation: I am dealing with a website that has 1 to N (n being between 1 and 6 so far) variants of a product. There are no dropdown for variants. This is not technically possible short of a complete redesign which is not on the table right now. The product variants are also not linked to each other but share about 99% of content (obvious problem here). In the "search all" they show up individually. Each product-variant is a different page, unconnected in backend as well as frontend. The system is quite limited in what can be added and entered - I may have some opportunity to influence on smaller things such as enabling canonicals. In my opinion, the optimal choice would be to retain one page for each product, the base variant, and then add dropdowns to select extras/other variants. As that is not possible, I feel that the best solution is to canonicalise all versions to one version (either base variant or best-selling product?) and to offer customers a list at each product giving him a direct path to the other variants of the product. I'd be thankful for opinions, advice or showing completely new approaches I have not even thought of! Kind Regards, Nico

                                    Technical SEO | Oct 12, 2015, 6:47 AM | netzkern_AG
                                    0
                                  • Rooted

                                    Query Strings causing Duplicate Content

                                    I am working with a client that  has multiple locations across the nation, and they recently merged all of the location sites into one site. To allow the lead capture forms to pre-populate the locations, they are using the query string  /?location=cityname on every page. EXAMPLE - www.example.com/product www.example.com/product/?location=nashville www.example.com/product/?location=chicago There are thirty locations across the nation, so, every page x 30 is being flagged as duplicate content... at least in the crawl through MOZ. Does using that query string actually cause a duplicate content problem?

                                    Technical SEO | Sep 3, 2015, 4:55 AM | Rooted
                                    1
                                  • HiteshP

                                    Duplicate content on job sites

                                    Hi, I have a question regarding job boards. Many job advertisers will upload the same job description to multiple websites e.g. monster, gumtree, etc. This would therefore be viewed as duplicate content. What is the best way to handle this if we want to ensure our particular site ranks well? Thanks in advance for the help. H

                                    Technical SEO | Apr 30, 2015, 12:57 PM | HiteshP
                                    0
                                  • CRMI

                                    Duplicate Page Content and Titles from Weebly Blog

                                    Anyone familiar with Weebly that can offer some suggestions? I ran a crawl diagnostics on my site and have some high priority issues that appear to stem from Weebly Blog posts.  There are several of them and it appears that the post is being counted as "page content" on the main blog feed and then again when it is tagged to a category.  I hope this makes sense, I am new to SEO and this is really confusing. Thanks!

                                    Technical SEO | Mar 11, 2017, 9:08 AM | CRMI
                                    0
                                  • Ditigal_Taylor

                                    Duplicate Content

                                    We have a ton of duplicate content/title errors on our reports, many of them showing errors of: http://www.mysite.com/(page title) and http://mysite.com/(page title) Our site has been set up so that mysite.com 301 redirects to www.mysite.com (we did this a couple years ago). Is it possible that I set up my campaign the wrong way in SEOMoz? I'm thinking it must be a user error when I set up the campaign since we already have the 301 Redirect. Any advice is appreciated!

                                    Technical SEO | Mar 21, 2013, 10:22 PM | Ditigal_Taylor
                                    0
                                  • GeorgFranz

                                    How to prevent duplicate content at a calendar page

                                    Hi, I've a calender page which changes every day. The main url is
                                    /calendar For every day, there is another url: /calendar/2012/09/12
                                    /calendar/2012/09/13
                                    /calendar/2012/09/14 So, if the 13th september arrives, the content of the page 
                                    /calendar/2012/09/13
                                    will be shown at
                                    /calendar So, it's duplicate content. What to do in this situation? a) Redirect from /calendar to /calendar/2012/09/13 with 301? (but the redirect changes the day after to  /calendar/2012/09/14) b) Redirect from /calendar to /calendar/2012/09/13 with 302 (but I will loose the link juice of /calendar?) c) Add a canonical tag at /calendar (which leads to /calendar/2012/09/13) - but I will loose the power of /calendar (?) - and it will change every day... Any ideas or other suggestions? Best wishes, Georg.

                                    Technical SEO | Sep 10, 2012, 2:21 PM | GeorgFranz
                                    0
                                  • Boogily

                                    Whats with the backslash in the url adding as duplicate content?

                                    Is this a bug or something that needs to be addressed? If so, just use a redirect?

                                    Technical SEO | Feb 20, 2012, 3:18 PM | Boogily
                                    0
                                  • CPLDistribution

                                    Duplicate Content issue

                                    I have been asked to review an old website to an identify opportunities for increasing search engine traffic. Whilst reviewing the site I came across a strange loop. On each page there is a link to printer friendly version: http://www.websitename.co.uk/index.php?pageid=7&printfriendly=yes That page also has a link to a printer friendly version http://www.websitename.co.uk/index.php?pageid=7&printfriendly=yes&printfriendly=yes and so on and so on....... Some of these pages are being included in Google's index. I appreciate that this can't be a good thing, however, I am not 100% sure as to the extent to which it is a bad thing and the priority that should be given to getting it sorted. Just wandering what views people have on the issues this may cause?

                                    Technical SEO | Jun 15, 2011, 9:01 AM | CPLDistribution
                                    0

                                  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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                                  • Accessibility
                                  • Terms of Use
                                  • Privacy

                                  Looks like your connection to Moz was lost, please wait while we try to reconnect.