Blank search sends you to the homepage
So I have setup my homepage to be a static page instead of the blog. Everything is working great, until one day I realized that a blank blog search sends me to the homepage instead of the search result page.
Here are the sample urls:
sampleblog.com/ — is my static home page
sampleblog.com/blog/ — is my blog home
sampleblog.com/?s=mysearch — is a populated search, displays the search result page
sampleblog.com/?s= — is an empty search, displays the static home page
So, I am willing to do just about anything to fix this… I would prefer the search page to be sampleblog.com/blog/?s=mysearch … which would fix the blank search issue.
I am very PHP savy and have written several plugins at this point, and am willing to do some hacking to make this work, I just need to be pointed in the right direction.
- The topic ‘Blank search sends you to the homepage’ is closed to new replies.