RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ExpiresActive On ExpiresDefault "access plus 1 week" ExpiresByType text/html "access plus 1 hour" AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php56” package as the default “PHP” programming language. AddHandler application/x-httpd-ea-php56 .php .php5 .phtml # php -- END cPanel-generated handler, do not edit