How to add deny all on user.ini file
-
I added a user.ini file at the recommendation of Wordfence, but the plugin also recommended adding a “deny all” command to the file. However, it did not specify where to add it, so I want to make sure that I insert the code correctly to make sure that it works.
The initial content of the file looks something like this:
; Wordfence WAF
auto_prepend_file = ‘/mydirectoryfilepathandwebsite.com/wordfence-waf.php’
; END Wordfence WAFIs it okay to simply put the “deny all” command on the line following “; END Wordfence WAF, or should it go before any of the above content? Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to add deny all on user.ini file’ is closed to new replies.