• Hello!

    I downloaded a plugin (wp hide and security enhancer) and without thinking I accidentally added wp-admin in the wp-content block section. Now I cannot access my dashboard or even my admin page. I can log in via login.php, but it only gives me access to the admin bar, if I click on anything it keeps taking me to a 404 page. I have tried everything and I am out of options, please help! Someone!

    • This topic was modified 6 years, 11 months ago by tchord.
Viewing 3 replies - 1 through 3 (of 3 total)
  • 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://www.ads-software.com/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’,’https://example.co.za’);
    define(‘WP_SITEURL’,’https://example.co.za’);

    If you know of anything else, please let me know. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wp-Admin has been blocked’ is closed to new replies.