File manager - Edit - /home/aussies6/public_html/.htaccess
Back
# SOFTACULOUS Block author scans RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} (author=\d+) [NC,OR] RewriteCond %{REQUEST_URI} ^.*wp-json/wp/v2/users(?!/me) [NC] RewriteRule .* - [F,L] # SOFTACULOUS Block author scans End # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress # BEGIN FRedirect_ErrorDocument # The directives (lines) between `BEGIN FRedirect_ErrorDocument` and `END FRedirect_ErrorDocument` are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. ErrorDocument 404 /index.php?error=404 # END FRedirect_ErrorDocument RewriteCond %{HTTP_HOST} ^hermitagetasmania\.com$ RewriteRule ^/?$ "https\:\/\/hermitagetasmania\.com\.au\/" [R=301,L] RewriteCond %{HTTP_HOST} ^hermitagetasmania\.au$ RewriteRule ^/?$ "https\:\/\/hermitagetasmania\.com\.au\/" [R=301,L] # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php73” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php73___lsphp .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit # SOFTACULOUS Block xmlrpc <files xmlrpc.php> Require all denied </files> # SOFTACULOUS Block xmlrpc End # SOFTACULOUS Block .htaccess and .htpasswd <FilesMatch ^(?i:\.ht.*)$> Require all denied </FilesMatch> # SOFTACULOUS Block .htaccess and .htpasswd End # SOFTACULOUS Block directory browsing Options -Indexes # SOFTACULOUS Block directory browsing End # SOFTACULOUS Block access sensitive files <FilesMatch "^.*(((?:wp-config)\.(?:php|bak|swp))|php.ini|\.[hH][tT][aApP].*|((?:error_log|readme|license|changelog|-config|-sample)\.(?:php|md|log|txt|htm|html)))$"> Require all denied </FilesMatch> # SOFTACULOUS Block access sensitive files End # SOFTACULOUS Enable bot protection RewriteEngine on RewriteCond %{HTTP_USER_AGENT} (?:virusbot|spambot|evilbot|acunetix|BLEXBot|domaincrawler\.com|LinkpadBot|MJ12bot/v|majestic12\.co\.uk|AhrefsBot|TwengaBot|SemrushBot|nikto|winhttp|Xenu\s+Link\s+Sleuth|Baiduspider|HTTrack|clshttp|harvest|extract|grab|miner|python-requests) [NC] RewriteRule ^(.*)$ http://no.access/ # SOFTACULOUS Enable bot protection End
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings