I read over 20 posts, and I did not find a solution, so in my case I want to redirect https://example.com/search/
in home page or on another page, but i don't want to redirect https://example.com/search/?q=query
Is this possible?
I hope to have a solution.
Thanks
You need to check at the beginning of you search script if the environment variable QUERY_STRING has an empty value.
For instance, in Perl: