diff --git a/README.md b/README.md index eea8aea..ce0201f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Go Live Security List ## 1. Protect .htaccess -```htaccess +```apacheconf order allow,deny deny from all @@ -14,7 +14,7 @@ Go Live Security List ## 2. Protect wp-config.php -```htaccess +```apacheconf order allow,deny deny from all @@ -92,6 +92,29 @@ Pointing REST API to 404 page RewriteRule ^wp-json.*$ 404.html ``` +## 9. Disable PHP Execution + +In `wp-includes` and `uploads` + +```apacheconf + + Order Allow, Deny + Deny from all + +``` + +## 10. Disable XML-RPC + +```apacheconf + + order deny,allow + deny from all + allow from `ip_address` + +``` + +Enable this features if only updating the content using remote access + ## Credits - https://www.cloudways.com/blog/protect-wordpress-with-htaccess/