I'm doing in my site url friendly, though, I'm having trouble catching the form's search field with .htaccess. All my attempts give 404 error.
Form:
<form action="busca" method="post">
<input type="text" name="busca" required="required" class="buscar-frm">
</form>
htaccess
RewriteRule ^busca/([0-9]+)/?$ /imv.php?busca=$1 [NC]
It was attempted to use both method
post and get. In the search field, it is only to search by property code.
When I enter enter in the search field, go to page with error 404, not to imv.php