AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json Header set Cache-Control "max-age=29030400, public" Header set Cache-Control "max-age=5184000, public" Header set Cache-Control "max-age=2678400, public" Header set Cache-Control "max-age=86400, public" deny from all RewriteEngine On RewriteBase / RewriteRule ^redirect\.php$ - [L] RewriteCond %{QUERY_STRING} _escaped_fragment_= RewriteRule . staticrender.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /redirect.php [L]