You are giving 404 error accessing the Friendly URL that I tried to .htaccess
: RewriteRule ^es/guarapari/([0-9]+)/([[a-z0-9-]+)/?$ empresas.php?id=$1&nome=$2 [NC]
.htaccess complete:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^es/guarapari/([0-9]+)/([[a-z0-9-]+)/?$ empresas.php?id=$1&nome=$2 [NC]
RewriteRule ^es/guarapari\/?$ cidade.php?cidade=100 [L]
</IfModule>
Usually access address: https://localhost/guiacomercial/es/guarapari/
Now when I try to access: https://localhost/guiacomercial/es/guarapari/empresa/1/acabamento
generates error 404.