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. What redirect code (301,302,303) should I use for pages that are available only for logged in users?

    What redirect code (301,302,303) should I use for pages that are available only for logged in users?

    Intermediate & Advanced SEO
    4 2 490
    • 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.
    • STEFANOAGBAGLA
      STEFANOAGBAGLA last edited by

      If for example they go to a page like /premium-content, they will be automatically redirected (302) to the login page.

      Because now I do a 302 redirect, in Google Webmaster Tools it sais I have duplicate title issues for each of the pages that are accessible only for the logged in users.

      If I would do a 301 redirect, I basically tell Google that those pages are moved, but it is not the case because logged in users will see those pages.

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

        How can Google Webmaster Tools be reporting duplicate title issues for pages that can only be accessed if you are logged in? If pages of your website require authentication then they are inaccessible to search engines so subsequently, cannot be reported on.

        Unless I have misunderstood?

        STEFANOAGBAGLA 1 Reply Last reply Reply Quote 0
        • STEFANOAGBAGLA
          STEFANOAGBAGLA @zigojacko last edited by

          Because they redirect to the registration page, and Google see's /premium-content as the /register page (same title as register page)

          zigojacko 1 Reply Last reply Reply Quote 0
          • zigojacko
            zigojacko @STEFANOAGBAGLA last edited by

            Just block /premium-content from your robots.txt page then (or include a meta noindex on the page if you can). There's no reason for it to be indexed I presume if it only redirects to your registration page and can't be access without authentication?

            Disallow: /premium-content/
            
            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • 301 Redirect to Home Page or Sub-Page?
              zeehj
              zeehj
              0
              2
              149

            • Is it a problem to use a 301 redirect to a 404 error page, instead of serving directly a 404 page?
              lcourse
              lcourse
              0
              5
              2.0k

            • An affiliate website uses datafeeds and around 65.000 products are deleted in the new feeds. What are the best practises to do with the product pages? 404 ALL pages, 301 Redirect to the upper catagory?
              Everett
              Everett
              0
              5
              135

            • For a mobile website, is it better to use a 301 vs. a 302 redirect?
              JadedTLC
              JadedTLC
              1
              3
              1.1k

            • How to conduct catch 301 redirects & have the separate 301 redirects for the key pages
              BenRWoodard
              BenRWoodard
              0
              2
              288

            • Do I need to use canonical tags if I'm 301 redirecting pages?
              RobertFisher
              RobertFisher
              0
              2
              423

            • Are there any negative effects to using a 301 redirect from a page to another internal page?
              RobertFisher
              RobertFisher
              0
              11
              6.4k

            • 301 - should I redirect entire domain or page for page?
              dunklea
              dunklea
              0
              4
              679

            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