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. Access denied errors in webmaster tools

    Access denied errors in webmaster tools

    Intermediate & Advanced SEO
    3 3 1.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.
    • SamCUK
      SamCUK last edited by

      I notice today Ihave 2 access denied errors. I checked the help which says:

      Googlebot couldn’t access a URL on your site because your site requires users to log in to view all or some of your content. (Tip: You can get around this by removing this requirement for user-agent Googlebot.)

      Therefore I think it may be because I have added a login page for users and googlebot can't access it. I'm using wordpress and presume I need to amend the robots.txt to remove the requirement for google to log in but how do I do that?

      Unless I'm misunderstanding the problem altogether!

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

        Personally I wouldn't remove the requirement for googlebot if you want to protect that content.  Once you do that content is public for two reasons:

        1. Any nefarious user can instantly change their user agent and view your content

        2. It will appear in the public search results

        Much better would be to consider what is and isn't protected by a login. If you want it indexed then it should be seen as public and not behind a login. If it should be private, then protect it.

        If you want it to appear in the search to attract people to the site in order to encourage them to register consider having cut down versions that are public and have a strong call-to-action on those to get people to register.

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

          Samuel

          Mat's right - you need to speratae the "access denied" pages into two buckets;

          • those which you want indexed

          • those which you don't want indexed.

          For those you want indexed, take them on a page by page basis to figure out why access is being denied. They might not all be because of password protection.

          -Dan

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Google Webmaster tools -Fixing over 20,000+ crawl errors
            LoganRay
            LoganRay
            0
            2
            68

          • Page Count in Webmaster Tools Index Status Versus Page Count in Webmaster Tools Sitemap
            AlanBleiweiss
            AlanBleiweiss
            0
            16
            1.6k

          • Webmaster Tools "Not found" errors after sitemap update
            Paddy_Moogan
            Paddy_Moogan
            0
            2
            62

          • Disavow tool removed all our links from webmaster tools
            KeriMorgret
            KeriMorgret
            0
            11
            521

          • URL errors in Google Webmaster Tool
            Richard555
            Richard555
            1
            3
            385

          • Why do pages with a 404 error drop out of webmaster tools only to reappear again?
            Towelsrus
            Towelsrus
            0
            3
            259

          • Somthing weird in my Google Webmaster Tools Crawl Errors...
            KristyO
            KristyO
            0
            3
            1.6k

          • Google Webmaster Tools Sitemap errors for phantom urls?
            RyanKent
            RyanKent
            0
            4
            765

          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