# BEGIN WP Rocket AddDefaultCharset UTF-8 AddCharset UTF-8 .atom .css .js .json .rss .vtt .xml Header unset ETag # Since we’re sending far-future expires, we don’t need ETags for static content. FileETag None Header set X-Powered-By "WP Rocket/3.17.3.1" Header unset Pragma Header append Cache-Control "public" Header unset Last-Modified # Expires headers (for better cache control) ExpiresActive on ExpiresDefault "access plus 1 month" ExpiresByType text/html "access plus 0 seconds" ExpiresByType image/gif "access plus 4 months" ExpiresByType image/png "access plus 4 months" ExpiresByType text/css "access plus 1 year" ExpiresByType application/javascript "access plus 1 year" # Gzip compression SetOutputFilter DEFLATE SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|webp|mp4)$ no-gzip dont-vary Header append Vary: Accept-Encoding # END WP Rocket # BEGIN WordPress RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress # BEGIN PHP Configuration php_flag display_errors Off php_value max_execution_time 300 php_value memory_limit 1024M php_value post_max_size 228M php_value upload_max_filesize 256M # END PHP Configuration # BEGIN cPanel-generated php ini directives Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self';" Header always set X-Content-Type-Options "nosniff" Header always set X-Frame-Options "SAMEORIGIN" Header always set X-XSS-Protection "1; mode=block" php_flag display_errors Off php_value max_execution_time 300 php_value memory_limit 1024M php_value post_max_size 228M php_value session.gc_maxlifetime 3600 php_value session.save_path "/var/cpanel/php/sessions/ea-php81" php_value upload_max_filesize 256M # END cPanel-generated php ini directives