Skip to content
Permalink
main
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
---
permalink: /.htaccess
eleventyExcludeFromCollections: true
---
ErrorDocument 404 /404.html
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/index\.php$
RewriteCond %{QUERY_STRING} ^date=(\d{4})-(\d{2})-(\d{2})&time=(\d{2}):(\d{2}):(\d{2}).*?$
RewriteRule ^(.*)$ ${legacyposts:%4%5%6}? [NC,L,R=301]
RewriteCond %{REQUEST_URI} ^/ViewByCategories\.php$
RewriteCond %{QUERY_STRING} ^category=(.*?)$
RewriteRule ^(.*)$ /tags/%1/? [NC,L,R=301]
RewriteRule ^atom.php$ /feed/feed.xml? [NC,L,R=301]
Redirect 301 /2019/12/01/animated-svg-favicon/ /2019/12/01/animated-svg-favicons/
Redirect 301 /2018/12/05/why-build-progressive-web-apps-push-but-don-t-be-pushy-video-write-up-094452/ /2018/12/04/why-build-progressive-web-apps-push-but-dont-be-pushy-video-write-up/
Redirect 301 /2019/12/09/inspecting_facebooks_webview/ /2019/12/09/inspecting-facebooks-webview/
Redirect 301 /2021/11/08/things-mode-and-stings-mode-in-google-trends/ /2021/11/08/things-mode-and-strings-mode-in-google-trends/
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive on
# Set the default expiry times.
ExpiresDefault "access plus 2 days"
ExpiresByType image/* "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType font/woff2 "access plus 1 year"
</IfModule>
# END Expire headers