Simply uninstall it from the “Plugins” page, just like any other plugin.
Hum, the last time I deleted and uninstalled it I was locked out of my website.
I thought that there were specific steps …
Did you manually install it, i.e., you manually edited some files (PHP INI, .htaccess, hosting admin panel configuration file etc) to install it ? If you did, you should undo that first as the firewall cannot uninstall what you manually edited or added.
If you didn’t, uninstalling it like any other plugin will do. But make sure not to delete the wp-content/nfwlog/ folder immediately after the uninstallation because that could crash the site as PHP will still try to load the firewall (PHP caches INI files for several minutes before reloading them).
I did not manually edit any files for installation.
Thanks for letting me know Not to Deleter the wp-content/nfwlog folder immediately after the uninstallation. Maybe that is what I did last time that crashed my site.
@bruandet,
thanks for your reply. I am finally getting back to this.
I found a user.ini file in my file manager. Is this what I remove before uninstall? I have no memory of adding this file. Did NinjaFirewall add this?
; BEGIN NinjaFirewall
auto_prepend_file = /home/sw2004/public_html/wp-content/plugins/ninjafirewall/lib/firewall.php
; END NinjaFirewall
Thanks!
Yes, you can remove it. But it looks like it is a very old entry as the firewall is no longer loaded that way since version 3.4, which was released in January 2017.
After removing the line, make sure to wait at last 5 minutes before uninstalling the plugin.