Recommended Rewrite RuleRewriteEngine On
# Allow requests that already end with .html (let them pass through)
RewriteCond %{REQUEST_URI} \.html$ [NC]
RewriteRule ^ - [L]
# Allow requests for required static files (optional, e.g. assets, clientlibs, etc.)
RewriteCond %{REQUEST_URI} \.(css|js|png|jp...