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. Redirecting 301 or 302?

    Redirecting 301 or 302?

    Technical SEO Issues
    5 4 223
    • 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.
    • HypermediaSystems
      HypermediaSystems last edited by

      Hi,

      I think the part of this question has been already discussed, but not exactly the same, I think.

      My site requires authentication for member page. When a user try to go to member area, we redirect to 3rd party to do the authentication.

      1. user clicks a link to www.mysite.com/member/contents.html
      2. www.myauthenticate.com/login?h=somehashuniquehash454859428778545 (enters id/pass)
      3. login success => redirect back to www.mysite.com/member/contents.html

      We are doing it 302, temporary redirect. But moz crawler error seems to suggest we should do it 301.
      So my question is:
      A. Should we do it 301???
      B. If we do 301, what happens to myauthenticate.com? since it has hashtag, I am afraid it could create a lot of duplicate contents on myauthenticate.com side...

      Thank you so much for your help in advance...

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

        I would make any link to a section that requires login of type nofollow, which according to Google is a acceptable reason to use "nofollow".  (source: https://support.google.com/webmasters/answer/96569?hl=en). The pages behind the login are not accessible for searchengines so it makes no sense for the google bot to follow them. If the link is nofollow, you can use 302 or 301 as you prefer.

        rgds,

        Dirk

        1 Reply Last reply Reply Quote 2
        • Alick300
          Alick300 last edited by

          Hi,

          The page is about authentication for member page so I don't think it is important page as far as SEO is concern for this particular page. You can use either one it is up to you.

          Second thing we don't want to index or rank such pages in Google because such pages doesn't useful for common visitors of your website in any way so you can also use noindex , nofollow.

          Thanks

          1 Reply Last reply Reply Quote 2
          • MonicaOConnor
            MonicaOConnor last edited by

            Is the 302 redirect the only way to get users from one page to the other?

            The difference between the 301 and 302 is that the 301 will remove the page from the index over time. The 302 redirect is more of a fork in the road allowing the other page to remain indexed. It should really be your decision, if you want the page to remain indexed then don't use a 301 redirect, keep the 302. If it is irrelevant or if there is duplicate content it might be better to use a 301 redirect.

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

              Hi,

              Thank you for useful information, really helps!

              I wish I could manually (I'm a designer and parttime webmaster on our site), but since the links are too many from too many places, and login page has nofollow norobot, I will recommend my boss 301...

              Thanks again! : )

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • 301 Redirects Showing As 307 Redirects
                0
                1
                64

              • Redirect a 301 Redirect
                RedCaffeine
                RedCaffeine
                0
                5
                98

              • 301 redirects reverting to 302 redirects
                Devanur-Rafi
                Devanur-Rafi
                0
                6
                532

              • What should be use 301 or 302 redirection for 404 pages
                My-Favourite-Holiday-Cottages
                My-Favourite-Holiday-Cottages
                0
                3
                1.5k

              • 301 redirect or 302
                RuudHeijnen
                RuudHeijnen
                0
                3
                601

              • 302 or 301 redirect to https ?
                Kotkov
                Kotkov
                0
                9
                33.6k

              • 301 Redirect Domain or 301 Redirect Domain + Interior Pages
                Room214
                Room214
                0
                7
                1.1k

              • Worth Changing Redirect From 302 to 301?
                dawnieando
                dawnieando
                0
                7
                832

              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