JezK
Edit File: .htaccess
# 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. <IfModule mod_rewrite.c> 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] </IfModule> # END WordPress # BEGIN Security Block # Block the include-only files. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^wp-admin/includes/ - [F,L] RewriteRule !^wp-includes/ - [S=3] RewriteRule ^wp-includes/[^/]+\.php$ - [F,L] RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L] RewriteRule ^wp-includes/theme-compat/ - [F,L] </IfModule> # Disable directory listing Options All -Indexes # Remove header with PHP version Header always unset X-Powered-By Header unset X-Powered-By # END Security Block # 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) <IfModule php8_module> php_flag display_errors Off php_value max_execution_time 180 php_value max_input_time 180 php_value max_input_vars 5000 php_value memory_limit 512M php_value post_max_size 128M php_value session.gc_maxlifetime 10800 php_value session.save_path "/var/cpanel/php/sessions/ea-php84" php_value upload_max_filesize 64M php_flag zlib.output_compression Off </IfModule> <IfModule lsapi_module> php_flag display_errors Off php_value max_execution_time 180 php_value max_input_time 180 php_value max_input_vars 5000 php_value memory_limit 512M php_value post_max_size 128M php_value session.gc_maxlifetime 10800 php_value session.save_path "/var/cpanel/php/sessions/ea-php84" php_value upload_max_filesize 64M php_flag zlib.output_compression Off </IfModule> # END cPanel-generated php ini directives, do not edit # BEGIN seraphinite-accelerator # The directives (lines) between "BEGIN seraphinite-accelerator" and "END seraphinite-accelerator" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END seraphinite-accelerator # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php84” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php84 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit