0
I got the following .htaccess
which so far has worked perfectly:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^es/guarapari/empresas/([0-9]+)/([[a-z0-9-]+)/?$ empresas.php?id=$1&nome=$2&cidade=100 [NC]
RewriteRule ^es/guarapari/empresa/([0-9]+)/([[a-z0-9-]+)/?$ detalhes.php?txt=$1&nome=$2&cidade=100 [NC]
RewriteRule ^es/guarapari\/?$ cidade.php?cidade=100 [L]
</IfModule>
However, I have the following form:
<form action="pesquisa.php" method="get" name="pesquisarguia">
<input type="text" name="consultarguia" placeholder="Localizar empresa" required="required" class="frm-campos">
<input class="inenviar" type="submit" value="Buscar">
</form>
Every time I do a survey error 404 due I use Friendly URL.
What inclusion should I make in .htaccess
for my research to work?
Looks like your Urls start with es/ so I kept the format.
– Claytinho