I want to change a .php file name to dashboard
example:
clientarea.php to dashboard and then redirect every traffic on clienttarea.php to dashboard automatically.
Currently, I have tried using
RewriteRule ^clientarea.php?$ dashboard/ [R=301,NC,L]
and it takes me to dashboard but also gives a 404 error.
Any help regarding this would be appreciated.
Thanks.