# Enforce HTTPS RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # 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 # Disable directory browsing Options -Indexes # Protect .htaccess and other sensitive files Order allow,deny Deny from all # Block access to wp-config.php Order allow,deny Deny from all # Prevent PHP execution in uploads Order allow,deny Deny from all # Prevent PHP execution in wp-includes Order allow,deny Deny from all # Prevent access to xmlrpc.php if not used Order allow,deny Deny from all # Prevent unauthorized access to .htaccess Order allow,deny Deny from all # 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_value error_log "/home/eliteewa/logs/php.error.log" php_flag log_errors On php_value error_log "/home/eliteewa/logs/php.error.log" php_flag log_errors On # 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