DirectoryIndex index.php

RemoveHandler .php .php8 .phtml
<FilesMatch \.php$>
  SetHandler application/x-httpd-php
</FilesMatch>

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteCond %{THE_REQUEST} \s/+index\.php[\s?] [NC]
  RewriteCond %{QUERY_STRING} ^$
  RewriteRule ^index\.php$ /?_route=admin [R=302,L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?_route=$1 [QSA,L]
</IfModule>

<IfModule mod_headers.c>
  <FilesMatch "\.(css|js|png|jpg|jpeg|gif|svg|webp|ico|woff|woff2)$">
    Header set Cache-Control "public, max-age=2592000, immutable"
  </FilesMatch>
</IfModule>
