Fixing Soft 404 Errors

Investigation

In your Google Search Console, view your Soft 404 errors.

Google Search Console

What causes Soft 404 errors?

  • Pages that do not have the 404 error header
  • Massive redirects on the cover
  • Thin content

Solution Robots.txt : Modify the robots.txt file

If you find these types of errors, you have an easy solution, just add a few lines to your robots.txt file so that the results pages of internal searches are not indexed like this:

Change from:

Disallow: /?s=
Disallow: /search/

To:

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Disallow: /?s=
Disallow: /search/


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.