AddDefaultCharset UTF-8
php_value default_charset "UTF-8"
# PROTECT HTACCESS
Order allow,deny
Deny from all
Satisfy all
# PROTECT WP LOGIN
Order Deny,Allow
# Deny from all
Allow from 67.171
# PROTECT WP CONFIG
Order Deny,Allow
Deny from all
# PROTECT PHP INFO
Order Deny,Allow
Deny from all
# DISABLE TRACK & TRACE
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK)
RewriteRule .* - [F]
# REDIRECT
RewriteEngine On
Redirect 301 /jessibird-radio http://jessibird.net/tag/radio
Redirect 301 /about-this-blog http://jessibird.net/about-jessibird
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
# REDUCE SPAM
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post.php
RewriteCond %{HTTP_REFERER} !jessibird.net [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) http://%{REMOTE_ADDR}/$ [R=301,L]
# COMPRESS
SetOutputFilter DEFLATE
# CACHE
Header unset ETag
FileETag none
ExpiresActive On
ExpiresByType text/html "access plus 1 minute"
ExpiresByType text/css "access plus 3 months"
ExpiresByType text/javascript "access plus 3 months"
ExpiresByType application/javascript "access plus 3 months"
ExpiresByType application/x-javascript "access plus 3 months"
ExpiresByType image/gif "access plus 3 months"
ExpiresByType image/jpeg "access plus 3 months"
ExpiresByType image/png "access plus 3 months"
ExpiresByType favicon/png "access plus 3 months"
ExpiresByType image/x-icon "access plus 3 months"
ExpiresByType application/wlwmanifest+xml "access plus 1 minute"
ExpiresByType application/x-shockwave-flash "access plus 1 years"