This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # BEGIN iThemes Security - Do not modify or remove this line | |
| # iThemes Security Config Details: | |
| # Protect System Files - Security > Settings > System Tweaks > System Files | |
| <files .htaccess> | |
| <IfModule mod_authz_core.c> | |
| Require all denied | |
| </IfModule> | |
| <IfModule !mod_authz_core.c> | |
| Order allow,deny | |
| Deny from all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # BEGIN iThemes Security - Do not modify or remove this line | |
| # iThemes Security Config Details: 2 | |
| # Protect System Files - Security > Settings > System Tweaks > System Files | |
| location = /wp-admin/install.php { deny all; } | |
| location = /nginx.conf { deny all; } | |
| location ~ /\.htaccess$ { deny all; } | |
| location ~ /readme\.html$ { deny all; } | |
| location ~ /readme\.txt$ { deny all; } | |
| location ~ /wp-config.php$ { deny all; } | |
| location ~ ^/wp-admin/includes/ { deny all; } |