I would like the following behaviour from my wordpress, and am unsure how to attain it:
If I go to http://domain.com/some_phrase, a file that does not exist, I would like the resulting 404 page to read:
404 file not found.
if ( http://domain.com/?s=some_phrase has results):
Search results for some_phrase:
LIST OF RESULTS
- The topic ‘Put Search results in 404 Page’ is closed to new replies.