How to change search url without delete "s=" in Wordpress
<p>As title, I want to change current url : </p>

<pre><code>example.com/?s=foo 
</code></pre>

<p>To :</p>

<pre><code>example.com/search?s=foo
</code></pre>

<p>and if "s=" is not set, show all posts without any terms and filters.
<br><hr>
How can I do that ?  </p>