Hi everyone I just recently switched to the genesis framework a little while ago and I’m suddenly getting a couple of soft 404 errors on google webmaster tools.
I think they are all coming from the search box on the 404 page since that’s the only search box I have found on the site, they all have the term {search_term} as the search query and the page gives me a “Sorry, no content matched your criteria.” result.
I would love some advice on how to solve this issue.
I recently started using the Laravel PHP Framework and struggled with the fixed 200 http response and instead send a 404 Not found response.
To override the 200 response for pages not found I send a PHP http_response_code(404) then check for the http_response_code() value. If it is not 200 then the header adds the following which are now showing in Google Webmaster Tools as Soft 404s:
The Webmaster Tools screenshot lists 280 pages with 404 soft-errors. Clicking on any of the links will open a new tab showing the 404 soft-error page. Most of the 404 soft-errors are from searches.
I do not think there is anything to worry about in fact I tried a couple of the links and your search page appeared.