1
Is giving 404 error while accessing the Friendly URL I tried to do by .htaccess
: RewriteRule ^es/guarapari/([0-9]+)/([[a-z0-9-]+)/?$ empresas.php?id=$1&nome=$2 [NC]
.full htaccess:
<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>
Access usually the address: https://localhost/guiacomercial/es/guarapari/
Now when I try to access: https://localhost/guiacomercial/es/guarapari/empresa/1/acabamento
generates error 404.