For example, my wordpress website is www.example.com
. If I type example.com/abcdef
or any other url that does not exist, it redirects to my custom 404 page without any issues.
However, when I search something, the url changes to www.example.com/?s=abcdef
and it shows wordpress's default 'Nothing Found' page. Is there a way I can redirect a wrong search's to my custom 404 page or can I change wordpress 'Nothing found' page?
Thanks