Investigation
In your Google Search Console, view your Soft 404 errors.
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/
Leave a Reply