Options -MultiViews -Indexes
DirectoryIndex index.php
RewriteEngine On

RewriteRule (^|/)\. - [F,END]
RewriteRule ^index\.php$ - [END]
# Templates and internal PHP views must go through the explicit route allowlist.
RewriteRule ^(?:index\.html|thank-you(?:/|\.php)?)$ index.php [END]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule \.(?:css|js|svg|png|jpg|jpeg|gif|webp|ico|woff2?|ttf|eot)$ - [END,NC]
RewriteRule ^ index.php [END]
