I'm doing a project, and I learned a little about the rewrite of URL's
, I did as I saw in the tutorials, but sometimes when I try to access the address the browser returns erro 500
, that would be some problem with my htaccess
? this is the code I'm using
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^navegar/?$ inicio.php [NC,L]
</IfModule>
I'm using the same rewriting pattern for all pages and the same error persists with all, what's wrong?