0
I’m doing a project, and I recently learned about the rewriting 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
, would that some problem with my htaccess
? that’s 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 rewrite pattern for all pages and the same error persists with all, what’s wrong?
Details of the error must be in the Apache error log. Read the log to mitigate the problem before applying any solution at random.
– Daniel Omine