• File: .htaccess
  • Full Path: /home/daemondevin/public_html/blog/theme/default/.htaccess
  • Date Modified: 10/14/2026 2:53 PM
  • File size: 520 bytes
  • MIME-type: text/plain
  • Charset: utf-8
# Themestrap Blog: pretty links on Apache. Everything here is optional; the blog also works without it.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
# Never hand out the app internals directly
RewriteRule ^(lib|data|content|tools)(/|$) - [F,L]
</IfModule>

<IfModule mod_headers.c>
<FilesMatch "\.(css|js|woff2|png|jpe?g|gif|webp)$">
Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch>
</IfModule>