Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor bruandet

    (@bruandet)

    Simply uninstall it from the “Plugins” page, just like any other plugin.

    Thread Starter awakegal

    (@awakegal)

    Hum, the last time I deleted and uninstalled it I was locked out of my website.

    I thought that there were specific steps …

    Plugin Contributor bruandet

    (@bruandet)

    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).

    Thread Starter awakegal

    (@awakegal)

    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.

    Thread Starter awakegal

    (@awakegal)

    @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!

    Plugin Contributor bruandet

    (@bruandet)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘How do I uninstall NinjaFirewall’ is closed to new replies.