Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Andy, I was having this same problem on some (but not all of site I am managing) Checked the “read this first” section of the forum and this tip did the trick:

    Finally, if you’re locked out of your site due to a server error open your .htaccess and remove the Better WP Security section from it.

    How do you do this if the file permission of the .htaccess file is set to 0444 and you’re locked out of the site and can’t access the server tweaks to change it back?

    If you are locked out from WP, access your site Via Cpanel (your ISP provider should have provided you credentials) change the permissions there and edit the file there.

    You can also edit file permissions via your FTP client like Fetch, click on file and “get info” – allow the “write” option for yourself. Once you have removed the Better WP Security section from your .htaccess file, you can delete the plugin from plugins folder and login with default WP URL. Hope that helps.

    Thread Starter AndyDavis

    (@andydavis)

    Thanks – I resolved the issue via deleting the section for the .htaccess file. Full access resolved.

    AHhhhhahh, i am getting some similar error, even after i replace my .htaccess file with the backup one that i have that only has:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    The login screen is telling me:
    ERROR: Login failed because your IP address has been blocked. Please contact the administrator.

    I am the Administator! I even logged into my Domain Control Panel and restored the password and disabled lockout and still having this problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot log in to admin screen’ is closed to new replies.