Most plugins can be (temporary) disabled by deleting or renaming the plugin folder. You can use File Manager (cPanel) or FTP. This trick also works on this Better WP Security. But sometimes it may not work if you have enabled certain settings in the plugin.
In some cases, you may need to consider to completely remove this plugin. Here is how to do it:
1. Backup your website
It is a good idea to make a full backup (database and files) before continue to the next steps. If you’re lazy, it is enough just keep a copy of .htaccess file.
2. Modify the .htaccess file
Save the .htaccess file to your local computer. Open and edit the file using text editor (Notepad if you’re using Windows, or Text Editor if you’re using Ubuntu). Find the text “# BEGIN Better WP Security” and “ END Better WP Security” in the file. Delete all the lines between the #BEGIN… and #END… (which just mentioned), save it and upload it back to your website.
3. Delete the plugin folder
You can use File Manager or FTP to manually delete the plugin folder. Normally it is located at:
public_html/wp-content/plugins/better-wp-security
4. Delete some data in the database
You can use phpMyAdmin (cPanel) to search and delete the data left by this plugin. Use this SQL command to search the record
SELECT *
FROM 'wp_options'
WHERE option_name LIKE '%bwps%'
The results are the records with option_name:
– bit51_bwps_data
– bit51_bwps
– bwps_file_log
This plugin broke my sites several times. Usually if this plugin breaks your site, it means you have enabled certain feature that is not compatible with the other plugins you’re using or your webhost environment.
Using the steps above I can bring my site normal again. It will remove the plugin and its settings so it will be safe to reinstall the plugin and you can reconfigure the settings.
But if want to 100% remove it and revert all the things changed by this plugin, you also need to edit the wp-config.php file and wp-content folder. Here has the information provided directly by the author:
https://bit51.com/what-is-changed-by-better-wp-security/