diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..0b0e9f7
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,76 @@
+# Kirby .htaccess
+
+
+
+RewriteEngine on
+RewriteBase /
+
+# block text files in the content folder from being accessed directly
+RewriteRule ^content/(.*)\.(txt|md|mdown)$ index.php [L]
+
+# block all files in the site folder from being accessed directly
+RewriteRule ^site/(.*) index.php [L]
+
+# block all files in the kirby folder from being accessed directly
+RewriteRule ^kirby/(.*) index.php [L]
+
+# make panel links work
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^panel/(.*) panel/index.php [L]
+
+# make site links work
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^(.*) index.php [L]
+
+
+
+
+# block update scripts
+RewriteRule ^(.*).sh$ error [R=301,L]
+
+
+# enable gzip compressed transfer
+
+ SetOutputFilter DEFLATE
+
+ # Netscape 4.x has some problems...
+ BrowserMatch ^Mozilla/4 gzip-only-text/html
+
+ # Netscape 4.06-4.08 have some more problems
+ BrowserMatch ^Mozilla/4\.0[678] no-gzip
+
+ # Don't compress images
+ SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
+
+
+
+ # Make sure proxies don't deliver the wrong content
+ Header append Vary User-Agent env=!dont-vary
+
+
+
+# enable browser caching headers
+AddType image/svg+xml .svg
+AddType application/vnd.ms-fontobject .eot
+AddType application/x-font-opentype .otf
+AddType application/x-font-ttf .ttf
+AddType application/font-woff .woff
+
+ ExpiresActive On
+ ExpiresDefault "access plus 1 seconds"
+ ExpiresByType text/html "access plus 1 seconds"
+ ExpiresByType text/xml "access plus 1 hours"
+ ExpiresByType text/css "access plus 4 weeks"
+ ExpiresByType image/gif "access plus 4 weeks"
+ ExpiresByType image/jpeg "access plus 4 weeks"
+ ExpiresByType image/png "access plus 4 weeks"
+ ExpiresByType image/svg+xml "access plus 4 weeks"
+ ExpiresByType text/javascript "access plus 4 weeks"
+ ExpiresByType application/x-javascript "access plus 4 weeks"
+ ExpiresByType application/vnd.ms-fontobject "access plus 4 weeks"
+ ExpiresByType application/x-font-opentype "access plus 4 weeks"
+ ExpiresByType application/x-font-ttf "access plus 4 weeks"
+ ExpiresByType application/font-woff "access plus 4 weeks"
+