WordPress.org

Forums

BulletProof Security
[resolved] Can't get to my wp-admin page - 403 error message (7 posts)

  1. luckylasagne
    Member
    Posted 1 year ago #

    Hi,

    I am unable to access the wp-admin page and instead get a 403 Forbidden Error Page.

    I tried to just rename BPS plugin folder (in my File manager) and this had the result that I was shown a 404 error instead of the 403 error.

    Any help on how to fix this would be very much appreciated.

    https://wordpress.org/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Delete the .htaccess file in your website root folder and the .htaccess file in your wp-admin folder. You should be able to login. If you have added any custom .htaccess code, such as IP blocking .htaccess code then check to make sure your IP address is correct/current.

  3. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Were you able to log back in? I forgot to mention that after you check for any custom code, such as IP address blocking custom code, that you repeat the standard BPS Setup steps after you have logged back in.

    BPS setup steps:

    1. Click the AutoMagic buttons on the Security Modes page.
    2. Activate Root and wp-admin BulletProof Modes on the Security Modes page.
    3. Go to the Login Security page and choose your Login Security options and click the Save Options buttons.
    4. Setup complete.

    Note: It is recommended that use a Custom Permalink Structure: http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure

  4. luckylasagne
    Member
    Posted 1 year ago #

    Hi,

    Thanks for your help, it seems it was some custom rewrite rules in "public_html/.htaccess" that were causing this. As per your advice I deleted this and was then able to login.

    Sadly I had also deleted some of BPS created .htaccess files so my BPS was totally out of whack.

    I think I will probably just reinstall and start again as I am totally confused as to what has been done or undone by my actions and so just going step by step through this will get it done quicker.
    I am hoping I don't create this problem again, but even if that should happen I can at least refer back here :-)
    Thanks again.
    John

  5. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    To make things simple and to isolate possible problematic custom .htaccess code this is a good approach.

    Go to Custom Code and cut (not copy) all custom .htaccess code to a Notepad or Notepad++ document and save it.

    Click the Save Root Custom Code button.

    Go to the Security Modes page, click the Create secure.htaccess File AutoMagic button and activate Root folder BulletProof Mode.

    At this point you will have only standard BPS .htaccess code in your root .htaccess file.

    Then add any custom .htaccess code in stages by only adding 1 bit/block of custom code at a time to 1 Custom Code text box, rinse and repeat the steps above and test everything. If everything is ok then add another bit/block of custom code, rinse and repeat...

  6. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Can this Thread be resolved? If not, please post a status update. Thanks.

  7. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    I am assuming this thread can be resolved. Please post a status update if this is not resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic