Hi tchord,
You can try to deactivate the “wp hide and security enhancer” plugin by renaming the plugin folder from FTP access or through cPanel file manager. Renaming the folder “wp-hide-security-enhancer” will deactivate this plugin and you will be able to access you admin dashboard again.
If you don’t have FTP access but you have database access then you can disable the plugin through phpmyadmin. Open the database and find active_plugins options in “wp_options” table if your database prefix is default and set to “wp_” otherwise find the options table prefixed by you database prefix. After finding this options key “active_plugins” just delete the plugin name from it’s value field and update it. Now the plugin will be deactivated.
Hope this will help you!!
Good morning @tchord,
You can try one of the following:
1. Restore .htaccess to the previous version before the security enhancer’s edits (you can get it from the original wordpress files here: https://ww.wp.xz.cn/download/)
2. Delete the plugin folder using FTP and restore .htaccess using step 1.
Let me know if it works for you.
Thread Starter
tchord
(@tchord)
Hi there @cspiliakos
Thank you for your reply, I have done both and still not working. I have disabled all my plugins and theme. I removed the .htaccess and still wont let me access my dashboard. I even uploaded my backup of my website and still wont allow me to access…
I even added into my wp-config.php
define(‘WP_HOME’,’http://example.co.za’);
define(‘WP_SITEURL’,’http://example.co.za’);
If you know of anything else, please let me know. 🙂