DirectoryIndex dashboard.php

<IfModule mod_rewrite.c>
    RewriteEngine On

    # Redirect direct requests for index.php to dashboard.php
    RewriteCond %{THE_REQUEST} \s/+index\.php(?:[\s?]|$) [NC]
    RewriteRule ^index\.php$ dashboard.php [R=301,L]

    # Let existing files and folders work normally
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]

    # Optional catch-all route
    # RewriteRule ^ dashboard.php [L,QSA]
</IfModule>

<IfModule mime_module>
    AddHandler application/x-httpd-ea-php83___lsphp .php .php8 .phtml
</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php83” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php83___lsphp .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
