YANZ UPLOAD ANJG
# BEGIN WP PHP Entry Guard
RewriteEngine On
# Prevent direct execution of PHP-like files from common writable locations.
RewriteRule ^wp-content/(?:uploads|upgrade|cache|backups?|ai1wm-backups)/(?:.*\/)?[^/]+\.(?:php[0-9]?|phtml|phar)(?:/.*)?$ - [F,NC,L]
# Core admin PHP endpoints are needed for normal dashboard, AJAX and WooCommerce operations.
RewriteRule ^wp-admin/ - [S=1]
# Allow only standard WordPress front-controller / bootstrap HTTP endpoints in web root.
# THE_REQUEST distinguishes a direct HTTP call from an internal rewrite to index.php.
RewriteCond %{THE_REQUEST} \s/+[^\s?]*\.(?:php[0-9]?|phtml|phar)(?:[?\s]|/) [NC]
RewriteRule ^(?!index\.php$|wp-login\.php$|wp-cron\.php$|wp-comments-post\.php$|wp-activate\.php$|wp-signup\.php$|wp-mail\.php$|wp-trackback\.php$|xmlrpc\.php$)[^?]*\.(?:php[0-9]?|phtml|phar)(?:/.*)?$ - [F,NC,L]
# END WP PHP Entry Guard
Options -Indexes
DirectoryIndex disabled
DirectoryIndex index.php index.html
Require all denied
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# 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/addskill2/logs/php.error.log"
php_flag log_errors On
php_value error_log "/home/addskill2/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 .php .php8 .phtml
# php -- END cPanel-generated handler, do not edit