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