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. How to Handle a Soft 404 error to an admin page in WordPress

    How to Handle a Soft 404 error to an admin page in WordPress

    Intermediate & Advanced SEO
    3 2 871
    • 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.
    • aj613
      aj613 last edited by

      I'm seeing this error on Google Webmaster Console:

      | URL: | http://www.awlwildlife.com/wp-admin/admin-ajax.php |

      |

      | Error details | Linked from | |

      |
      | Last crawled: 11/15/16First detected: 11/15/16

      The target URL doesn't exist, but your server is not returning a 404 (file not found) error. Learn more

      Your server returns a code other than 404 or 410 for a non-existent page (or redirecting users to another page, such as the homepage, instead of returning a 404). This creates a poor experience for searchers and search engines.

      More information about "soft 404" errors |

      Any ideas what I should do about it?

      Thanks!

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

        Hi Adam,

        Yes, as you're using WordPress and this page doesn't provide any content to a search engine anyway (it's your WP Admin). Make sure you add an extra line to your robots.txt file like this:

        Disallow: /wp-admin/*

        This will make sure GSC and Moz tools won't look at pages on this URL structure at all which is basically what you want here.

        Hope this helps!

        aj613 1 Reply Last reply Reply Quote 2
        • aj613
          aj613 @Martijn_Scheijbeler last edited by

          Thanks Martijn and Christy!

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • 404 Errors flaring on nonexistent or unpublished pages – should we be concerned for SEO?
            effectdigital
            effectdigital
            0
            2
            51

          • How to 301 Redirect /page.php to /page, after a RewriteRule has already made /page.php accessible by /page (Getting errors)
            DirkC
            DirkC
            0
            2
            435

          • How should I go about repairing 400,000 404 error pages?
            stevecounsell
            stevecounsell
            0
            4
            127

          • Any downsides of (permanent)redirecting 404 pages to more generic pages(category page)
            MatthewBarby
            MatthewBarby
            0
            2
            133

          • How do I best deal with pages returning 404 errors as they contain links from other sites?
            TommyTan
            TommyTan
            0
            6
            341

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

          • How would you handle 12,000 "tag" pages on Wordpress site?
            M_D_Golden_Peak
            M_D_Golden_Peak
            0
            9
            1.1k

          • Generating 404 Errors but the Pages Exist
            OptimaD
            OptimaD
            0
            15
            8.1k

          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