Sorry for the basic question, every Google query I try yields no useful results.
How do I change the search results directory in Wordpress? Currently all searches need to be on the root
to produce results. i.e.
www.domain.tld/?s=query
But I'd like to be able to have two searches (which I currently already have working independently):
www.domain.tld/blog/?s=query
www.domain.tld/somethingelse/?s=query
I've tried adding the directories to my search form action
s, and although I've got Wordpress loading the right template for each search, the searches never produce any results. They only produce results when searching on the root
.
So it turns out that coming back to this I was able to just include the directory in the search form action. The strange this is that I'd experimented with this at quite some length - and gotten nowhere. So I think that something else might have been at play preventing this from working for some reason. Annoying mystery!