I have a search form, and I want to change the url from:
https://www.example.com/search?search=term+term
to:
https://www.example.com/search/term+term
I know how to use htaccess, but I don't know how to send user to friendly URL after he submit the form.
Here is my form:
<form action="search" method="get">
<input type="text" name="search" id="Searchx" placeholder="Search Marketplace" />
</form>