I got an email from Google Webmaster Tools saying my site has too many soft-404 errors. How can I go about fixing these issues and preventing them in the future? Thanks!
Hey kieranvyas,
Here is an article on the issue.
If you need further assistance please let us know.
Best regards,
Victoria
Thanks for your reply. All my crawl erros are searches without any search terms. See private content for an example of a soft 404 error google has flagged. All of the crawl errors are urls that work but with ‘?s=’ at the end.
Hi,
do you get those errors when using a default WP theme as well?
Best regards,
Andy
Sorry Andy I only use the Enfold theme so I don’t know
Hi,
then switch temporarily to a default WP theme for testing purposes and let us know about your results.
Best regards,
Andy
How do I test for crawl errors?
Hi,
please refer to:
and:
Hope this helps to make things clear in your case.
Best regards,
Andy
Hi Andy, that sounds like the perfect solution! Thank you. Please can you just help me with the formatting of my robot.txt. I’ve added the code to my robot.txt and it now looks like this:
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
User-agent: *
Disallow: /search
Disallow: /*?s=
Is this right? Thank you!
Hi,
Your code looks right to me, did you try it out? If not you could try something like this:
User-agent: *
Allow: /wp-admin/admin-ajax.php
Disallow: /wp-admin/
Disallow: /search
Disallow: /*?s=
Best regards,
Rikard
Brilliant thank you!