I am beginner in rewriting url. I tried to do simple rewrite but it goes badly. I don't know why. Searched for answers but did not find anything.
Error I am encountering:
500 internal server error | Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
My htaccess
file is in /admin/.htaccess
And I have another in /.htaccess
- in this I have this code: Options -Indexes
# Rewriting URLs
RewriteEngine On
RewriteRule ^custom dashboard.php [NC, L]
Thank you for your help