# BEGIN Newfold Headers Header set X-Newfold-Cache-Level "2" # END Newfold Headers # BEGIN Newfold Browser Cache ExpiresActive On ExpiresDefault "access plus 24 hours" ExpiresByType text/html "access plus 2 hours" ExpiresByType image/jpg "access plus 24 hours" ExpiresByType image/jpeg "access plus 24 hours" ExpiresByType image/gif "access plus 24 hours" ExpiresByType image/png "access plus 24 hours" ExpiresByType text/css "access plus 24 hours" ExpiresByType text/javascript "access plus 24 hours" ExpiresByType application/pdf "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" # END Newfold Browser Cache # BEGIN Newfold File Cache RewriteEngine On RewriteBase / RewriteRule ^/wp-content/newfold-page-cache/ - [L] RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP_COOKIE} !(wordpress_test_cookie|comment_author|wp\-postpass|wordpress_logged_in|wptouch_switch_toggle|wp_woocommerce_session_) [NC] RewriteCond %{HTTP:Cache-Control} ^((?!no-cache).)*$ RewriteCond %{DOCUMENT_ROOT}/wp-content/newfold-page-cache/$1/_index.html -f RewriteRule ^(.*)$ /wp-content/newfold-page-cache/$1/_index.html [L] # END Newfold File Cache # BEGIN Newfold Skip 404 Handling for Static Files RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(robots\.txt|ads\.txt|[a-z0-9_\-]*sitemap[a-z0-9_\.\-]*\.(xml|xsl|html)(\.gz)?) RewriteCond %{REQUEST_URI} \.(css|htc|less|js|js2|js3|js4|html|htm|rtf|rtx|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|avif|avifs|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|ogv|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip)$ [NC] RewriteRule .* - [L] # END Newfold Skip 404 Handling for Static Files # BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. ExpiresActive On ExpiresByType image/jpg "access plus 24 hours" ExpiresByType image/jpeg "access plus 24 hours" ExpiresByType image/gif "access plus 24 hours" ExpiresByType image/png "access plus 24 hours" ExpiresByType text/css "access plus 24 hours" ExpiresByType application/pdf "access plus 1 week" ExpiresByType text/javascript "access plus 24 hours" ExpiresByType text/html "access plus 2 hours" ExpiresByType image/x-icon "access plus 1 year" ExpiresDefault "access plus 24 hours" Options -Indexes Header set X-Endurance-Cache-Level "2" Header set X-nginx-cache "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 cPanel-generated php ini directives, do not edit # Manual editing of this file may result in unexpected behavior. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) php_flag display_errors Off php_value max_execution_time 60 php_value max_input_time 60 php_value max_input_vars 1000 php_value memory_limit 512M php_value post_max_size 516M php_value session.gc_maxlifetime 1440 php_value session.save_path "/home4/loogrrte/tmp/sessions" php_value upload_max_filesize 512M php_flag zlib.output_compression Off php_flag log_errors On php_value error_reporting E_ALL php_value error_log "/home4/loogrrte/tmp/php_errors.log" php_flag display_errors Off php_value max_execution_time 60 php_value max_input_time 60 php_value max_input_vars 1000 php_value memory_limit 512M php_value post_max_size 516M php_value session.gc_maxlifetime 1440 php_value session.save_path "/home4/loogrrte/tmp/sessions" php_value upload_max_filesize 512M php_flag zlib.output_compression Off php_flag log_errors On php_value error_reporting E_ALL php_value error_log "/home4/loogrrte/tmp/php_errors.log" # END cPanel-generated php ini directives, do not edit # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php83” package as the default “PHP” programming language. AddHandler application/x-httpd-ea-php83___lsphp .php .php8 .phtml # php -- END cPanel-generated handler, do not edit