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. HTTPS Login on HTTP Site | 301 or 302 Redirect?

    HTTPS Login on HTTP Site | 301 or 302 Redirect?

    Intermediate & Advanced SEO
    4 3 1.2k
    • 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.
    • CallMeNicholi
      CallMeNicholi last edited by

      I've searched the forum on this and online and can't seem to find a definitive answer.

      Some e-commerce sites that are http use a 302 redirect to the https login while other sites use a 301 redirect. I know 302 is generally not recommended but in this case it may make sense.

      Can anyone advise on the correct practice?

      1 Reply Last reply Reply Quote 0
      • Andy.Drinkwater
        Andy.Drinkwater last edited by

        Hi,

        I tend not to use 302's for anything other than a temporary redirect - 301 is generally the one that works best for SEO because it will pass more page rank than a 302.

        Moz also have a 'best practice' post on this here.

        -Andy

        CallMeNicholi 1 Reply Last reply Reply Quote 1
        • CallMeNicholi
          CallMeNicholi @Andy.Drinkwater last edited by

          I see because of the reciprocal nature....

          1 Reply Last reply Reply Quote 0
          • Cyrus-Shepard
            Cyrus-Shepard last edited by

            Shouldn't cause an issue either way. Moving from http to https is one of those edge cases. But basically, it's a login page so link equity really isn't a factor (most of those links are likely to be ignored or devalued anyway) and it's not really a reciprocal link.

            My advice - don't sweat it.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • Going from 302 redirect to 301 redirect weeks after changing URL structure
              vcj
              vcj
              0
              2
              131

            • If you do 302 redirect then change to 301 redirect do you lose all link juice?
              EricaMcGillivray
              EricaMcGillivray
              0
              3
              792

            • New Site (redesign) Launched Without 301 Redirects to New Pages - Too Late to Add Redirects?
              BeanstalkIM
              BeanstalkIM
              0
              8
              732

            • Redirect HTTP to HTTPS
              alwaysriding
              alwaysriding
              0
              5
              2.0k

            • How is my 301 redirected site stealing rankings from the main site?
              TakeshiYoung
              TakeshiYoung
              0
              4
              127

            • 301 Redirect To Another 301 Redirect
              cbielich
              cbielich
              0
              5
              247

            • 301 or 302 Redirects to Mobile Site
              BrianJGomez
              BrianJGomez
              0
              2
              2.2k

            • Login redirect 302
              Anthony_NorthSEO
              Anthony_NorthSEO
              0
              9
              2.3k

            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