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. Multiple 301 redirects for a HTTPS URL. Good or bad?

    Multiple 301 redirects for a HTTPS URL. Good or bad?

    Intermediate & Advanced SEO
    6 5 11.4k
    • 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.
    • jasondexter
      jasondexter last edited by

      I'm working on an ecommerce website that has a few snags and issues with it's coding.

      They're using https, and when you access the website through domain.com, theres a 301 redirect to http://www.domain.com and then this, in turn, redirected to https://www.domain.com.

      Would this have a deterimental effect or is that considered the best way to do it. Have the website redirect to http and then all http access is redirected to the https URL?

      Thanks

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

        Hi Jason,

        It's fine to 301 redirect from http: to https: and it's quite common for sites that use SSL. It's exactly the same principle as redirecting from a non-www to www (e.g. http://example.com to http://www.example.com) - which is considered to be good practice. But there should only be a single redirect. So you should ensure that http://example.com redirects to https://www.example.com without first redirecting to http://www.example.com.

        I would also make sure that all pages (not just the homepage) redirect from http: to https: too to ensure there are no duplicate content issues on the rest of the site.

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

          Hi Jason,

          To add to what Yusuf has said, is there a specific reason why the whole site has to use SSL, rather than just the parts of the website where sensitive information is passed? If so, I would be tempted to recommend that the e-commerce pages (products, categories, etc.) remain on HTTP URLs.

          Cheers,

          Jane

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

            I agree with Jane. Unless there are reasons why the whole site needs to be secure, it makes more sense for just the areas where sensitive information is being submitted to be SSL encrypted.

            http: requests are processed more quickly than https: ones due to the SSL handshake required to produce the cryptographic parameters for the user's session - so your site would be a little quicker if you weren't using SSL.

            However, if you do decide to use http: rather than https: for the product & category pages like Jane has suggested - you'd need to ensure that the https: versions of these pages redirect to http:... again to avoid duplicate content.

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

              To answer your specific question, Jason, yes, there's an issue with those URLs going through two consecutive redirects.

              Each redirect, like any link, costs a little bit of "link juice". So running through two consecutive redirects is wasting twice as much link juice as if the origin URL redirects immediately to the final URL without the intermediate step. It's not a massive difference, but on an e-commerce site especially, there's no point in wasting any. (Some folks reckon the loss could be as high as 15% per link/redirect.) Plus, I've occasionally seen problems with referrer data being maintained across multiple redirects (anecdotal).

              Hope that answers your specific question?

              Paul

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

                My personal rule of thumb - as few redirect jumps as possible. Three main reasons:

                1. User journey + Browsers - Sometimes when there are too many redirects taking place, some browsers find it difficult to follow through and would simply not load the page.  Also, even if there were only 2-3, the browser may load, but users on slower connections may find it tiresome waiting for content to load.

                2. As ThompsonPaul highlights, you COULD lose some link value due to dilution through 301 redirects.

                3. Multiple 301 redirects are often used by spammers and I foresee in the near future these causing a lot of ranking headaches. The older the site, the longer the chain might end up - for example, imagine you had a product at:

                https://domain.com/product1
                Links to that page exist at domain.com/product1

                The journey would be: domain.com/product1 >http://domain.com/product1 > https://domain.com/product1

                Now imagine a year down the line, product 1 is discontinued and you decide to redirect https://domain.com/product1 to domain.com/product2

                Imagine your journey now:

                domain.com/product1 >http://domain.com/product1 > https://domain.com/product1 > domain.com/product2 >http://domain.com/product2 > https://domain.com/product2

                This could carry on indefinitely in the lifetime of the site...

                Best solution: Decide what version of the site you want to use and simply try and use only one redirect, not a chain. Periodically check for chained redirects and resolve as you go along. (I try and do this bi annually).

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                • HTTPS 301 Redirect Question
                  Brando16
                  Brando16
                  0
                  8
                  105

                • Is 1:1 301 redirect required on indexed URL when restructing URL even if the new URL is canonicalized?
                  EricaMcGillivray
                  EricaMcGillivray
                  0
                  2
                  138

                • How to redirect an url in .htaccess when "redirect 301" doesnt work
                  WilliamKammer
                  WilliamKammer
                  0
                  5
                  173

                • 301 Redirecting Multiple Domains
                  IM_Learner
                  IM_Learner
                  0
                  2
                  161

                • Multiple 301 Redirects for the Same Page
                  ThompsonPaul
                  ThompsonPaul
                  0
                  5
                  4.1k

                • Is it safe to redirect multiple URLs to a single URL?
                  AndreVanKets
                  AndreVanKets
                  1
                  6
                  4.9k

                • How do I set up a 301 redirect if the default settings for our web servers create multiple URLs for the same page?
                  ibex
                  ibex
                  0
                  5
                  648

                • Multiple 301 redirects considered a redirection chain?
                  jmueller
                  jmueller
                  1
                  16
                  5.0k

                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