<IfModule mime_module>
AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/$
#set jumlah folder template
RewriteCond %{REQUEST_URI} !^/files
RewriteCond %{REQUEST_URI} !^/js
RewriteCond %{REQUEST_URI} !\.(gif|jpe?g|png|css|js|download)$
RewriteRule .* / [L,R=301]
</IfModule>