# BEGIN All In One WP Security
#AIOWPS_PINGBACK_HTACCESS_RULES_START
Require all denied
Order deny,allow
Deny from all
#AIOWPS_PINGBACK_HTACCESS_RULES_END
# END All In One WP Security
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
SetEnvIf GEOIP_COUNTRY_CODE MY BlockCountry
SetEnvIf GEOIP_COUNTRY_CODE CN BlockCountry
SetEnvIf GEOIP_COUNTRY_CODE PH BlockCountry
SetEnvIf GEOIP_COUNTRY_CODE PA BlockCountry
SetEnvIf GEOIP_COUNTRY_CODE HK BlockCountry
SetEnvIf GEOIP_COUNTRY_CODE TW BlockCountry
Deny from env=BlockCountry
SetEnv REGISTER_GLOBALS 0
ServerSignature Off
Options All -Indexes
# protect wpconfig.php
order allow,deny
deny from all
# protect readme.html
order allow,deny
deny from all
# protect .htaccess
order allow,deny
deny from all