• Resolved mrppp

    (@mrppp)


    i have code `# BRUTE FORCE LOGIN PAGE PROTECTION
    # Protects the Login page from SpamBots, HackerBots & Proxies
    # that use Server Protocol HTTP/1.0 or a blank User Agent
    RewriteCond %{REQUEST_URI} ^(/wp-login\.php|.*wp-login\.php.*)$
    RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
    RewriteCond %{THE_REQUEST} HTTP/1\.0$ [OR]
    RewriteCond %{SERVER_PROTOCOL} HTTP/1\.0$
    RewriteRule ^(.*)$ – [F,L]`

    in
    CUSTOM CODE BOTTOM HOTLINKING/FORBID COMMENT SPAMMERS/BLOCK BOTS/BLOCK IP/REDIRECT CODE:
    i want to clear it as it is in by mistake but i just get 403 when removing and saving.
    How can i remove this so that i prevent the 403, at the moment i can’t see how to remove

    log says
    HTTP_REFERER: http://www.xxxxxxx.co.uk/wp-admin/admin.php?page=bulletproof-security/admin/core/options.php
    REQUEST_URI: /wp-admin/options.php

    So do i need a bypass rule? i know its the code causing it but can’t clear it (save after removal)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AITpro

    (@aitpro)

    [deleted duplicate WP thread post]

    Plugin Author AITpro

    (@aitpro)

    Sounds like you need to remove that code manually. Use FTP or your web host control panel file manager and delete that code from your root htaccess file. Or of course you can delete your root htaccess file, correct the invalid Custom Code, save your corrections and activate root folder BulletProof Mode again.

    Thread Starter mrppp

    (@mrppp)

    Tried both but still get the problem, puzzled
    Deleted Htaccess, uploaded one from another working site with bps and no brute force code.
    Went to remove from the custom code box but still 403 when i try to save it

    Thread Starter mrppp

    (@mrppp)

    Well i have now overcome this, basically i copied site with “duplicator” put on localhost, edited files, then re copied back to live site, not the most ideal way i guess but the problem is now fixed FEW!!!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wrong code’ is closed to new replies.