I have a text input within a form that uses the get method:
<form method="get" action="./" role="search">
<input name="query" type="text" value="">
<button>Go</button>
</form>
When the form is submitted with 'foo bar', the reloaded URL looks like this:
mywpsite.com/?query=foo%2Bbar
How can this be rendered with +
in place of %2B
as on Duckduckgo.com, Google and similar sites? Example:
mywpsite.com/?query=foo+bar