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. Intermediate & Advanced SEO
    4. How to Resolve Duplication of HTTPS & HTPP URLs?

    How to Resolve Duplication of HTTPS & HTPP URLs?

    Intermediate & Advanced SEO
    15 5 1.8k
    • 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.
    • CommercePundit
      CommercePundit last edited by

      Right now, I am working on eCommerce website. [Lamps Lighting and More]

      I can find out both URLs in website as follow.

      HTTP Version:

      http://www.lampslightingandmore.com/

      HTTPS Version:

      https://www.lampslightingandmore.com/

      I have check one of my competitor who has implemented following canonical on both pages. Please, view source code for both URLs.

      http://www.wayfair.com

      ** https://www.wayfair.com**

      Then, I checked similar thing in SEOmoz website. 🙂 Why should I not check in SEOmoz because, They are providing best SEO information so may be using best practice to deal with HTTPS & HTTP. LOL

      I tried to load following URL so it redirect to home page.

      https://www.seomoz.org is redirecting to http://www.seomoz.org

      But, following URL is not redirecting any where as well as not set canonical over there.

      https://www.seomoz.org/users/settings

      I can find out following code on http://www.seomoz.org/robots.txt

      **User-agent: ***

      ** Disallow: /api/user?***

      So, I am quite confuse to solve issue. Which one is best 301 redirect or canonical tag? If any live example to see so that's good for me and make me more confident.

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

        301 redirect doesn't exclude a canonical. If you just want to use one solution, use the 301. There was a YouMoz post about exactly this topic a time ago, have look at it 😉

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

          How to Resolve Duplication of HTTPS & HTTP URLs?

          Neither a redirect nor a canonical tag is necessary.

          HTTP, HTTPS, FTP, etc are various protocols used to access information contained on your web server. The data itself is only instanced once, but you can access the data by using these various protocols. It is not a duplication of data and will not cause any SEO issues.

          bootleg CommercePundit 2 Replies Last reply Reply Quote 2
          • bootleg
            bootleg @RyanKent last edited by

            But you don't want your https pages crawled if there's the same version available as http. This is mostly a technical issue, but crawling a https site is way more expensive for both bot and server.

            CommercePundit 1 Reply Last reply Reply Quote 1
            • CommercePundit
              CommercePundit @RyanKent last edited by

              My question is in same manner. So, why WayFair have set canonical in website?

              1 Reply Last reply Reply Quote 0
              • CommercePundit
                CommercePundit @bootleg last edited by

                Yes, I don't want to crawl my HTTPS pages and don't want to create duplication by HTTPS and HTTP pages.

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

                  I want to add similar mind bubble in this question.

                  http://www.lampslightingandmore.com/

                  https://www.lampslightingandmore.com/

                  I have make canonical tag live after discussion over here. But, I have confusion regarding Relative & Absolute URLs.

                  I am using absolute URLs in canonical tag but, website have relative URLs.

                  So, Does it create any issue or stop down get benefit of canonical tag?

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

                    I would use no índex for the https version of the site, or block it from robots.txt, if i don't want it to be indexed.

                    CommercePundit 1 Reply Last reply Reply Quote 1
                    • gfiorelli1
                      gfiorelli1 @CommercePundit last edited by

                      I believe you're messing things, honestly. 1st > choose a canonical version for your site (www. or not). Sometimes absolute urls can give problems for https version of a site. 2nd > consider if your really want to index the htpps version... If not, put no index or block it via robots.txt. If yes use as canonical tag the http URL of the https page.

                      CommercePundit gfiorelli1 3 Replies Last reply Reply Quote 2
                      • CommercePundit
                        CommercePundit @gfiorelli1 last edited by

                        So, What about canonical tag. I am too confuse with it. What is ultimate conclusion. Because, I have make it live one website after getting suggestion.

                        Any eCommerce experience which will help me to understand more. What is best solution in my case. My goal is remove duplication in website and improve crawling rate.

                        1 Reply Last reply Reply Quote 0
                        • CommercePundit
                          CommercePundit @gfiorelli1 last edited by

                          You are right. Because, I have solid confusion after reading article about duplication. I checked my website and found HTTPS and HTTP pages and raising questions in that direction.

                          1 Reply Last reply Reply Quote 0
                          • CommercePundit
                            CommercePundit @gfiorelli1 last edited by

                            Now, Looks fine... Right??

                            https://www.lampslightingandmore.com/robots.txt

                            http://www.lampslightingandmore.com/robots.txt

                            1 Reply Last reply Reply Quote 0
                            • gfiorelli1
                              gfiorelli1 @gfiorelli1 last edited by

                              Yep

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

                                Our solution to this, was to make sure we had a canonical for each and every page pointing to the http:// version.

                                Secondly https:// was only made available after logging in.

                                CommercePundit 1 Reply Last reply Reply Quote 1
                                • CommercePundit
                                  CommercePundit @sichristie last edited by

                                  I have set robots.txt file for HTTP and HTTPS versions. You can find out both file above your response. Thanks for your answer.

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post
                                  • HTTPS & Redirects
                                    Ampweb
                                    Ampweb
                                    0
                                    9
                                    114

                                  • HTTP vs HTTPS duplication where HTTPS is non-existing
                                    Joe_Stoffel
                                    Joe_Stoffel
                                    0
                                    2
                                    75

                                  • Case Sensitive URLs, Duplicate Content & Link Rel Canonical
                                    allianzireland
                                    allianzireland
                                    0
                                    4
                                    3.0k

                                  • URL Re-Writes & HTTPS: Link juice loss from 301s?
                                    TheDude
                                    TheDude
                                    0
                                    9
                                    765

                                  • Google Indexing Duplicate URLs : Ignoring Robots & Canonical Tags
                                    AlanBleiweiss
                                    AlanBleiweiss
                                    0
                                    2
                                    321

                                  • Overly-Dynamic URLs & Changing URL Structure w Web Redesign
                                    Marcus_Miller
                                    Marcus_Miller
                                    0
                                    2
                                    257

                                  • How to resolve Duplicate Page Content issue for root domain & index.html?
                                    willyg
                                    willyg
                                    0
                                    10
                                    11.2k

                                  • Should we block urls like this - domainname/shop/leather-chairs.html?brand=244&cat=16&dir=ascâ„´=price&price=1 within the robots.txt?
                                    sferrino
                                    sferrino
                                    0
                                    2
                                    864

                                  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