├── .htaccess ├── README.md ├── backup-site-to-s3.sh ├── setupsite-tui.sh └── setupsite.sh /.htaccess: -------------------------------------------------------------------------------- 1 | # BEGIN WordPress 2 | 3 | RewriteEngine On 4 | RewriteBase / 5 | RewriteRule ^index\.php$ - [L] 6 | RewriteCond %{REQUEST_FILENAME} !-f 7 | RewriteCond %{REQUEST_FILENAME} !-d 8 | RewriteRule . /index.php [L] 9 | 10 | 11 | # END WordPress 12 | # Add correct content-type for fonts 13 | AddType application/vnd.ms-fontobject .eot 14 | AddType font/ttf .ttf 15 | AddType font/otf .otf 16 | AddType font/x-woff .woff 17 | AddType image/svg+xml .svg 18 | AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x- javascript application/javascript text/javascript 19 | 20 | # Compress compressible fonts 21 | AddOutputFilterByType DEFLATE font/ttf font/otf image/svg+xml 22 | 23 | # ---------------------------------------------------------------------- 24 | # Expires headers (for better cache control) 25 | # ---------------------------------------------------------------------- 26 | 27 | # 28 | # These are pretty far-future expires headers 29 | # They assume you control versioning with cachebusting query params like: 30 | #