Plugins htaccess file : ADDITIONAL ROLES IP

Home Forums BulletProof Security Pro Plugins htaccess file : ADDITIONAL ROLES IP

  • This topic has 2 replies, 2 voices, and was last updated 1 year ago by pdlc.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43200
    pdlc
    Participant

    Hi,

    today I noticed that in the htaccess file of the Plugins directory, there are many RewriteCond %{REMOTE_ADDR} records that are similar in every way. For example, the same code can be found between 9 and 17 times:
    # BEGIN ADDITIONAL ROLES IP
    RewriteCond %{REMOTE_ADDR} !^xx.xx.xx.122$
    # END ADDITIONAL ROLES IP
    In all, there are around 30 records.

    Weird, isn’t it? What’s going on?
    Best regards,

    Monica

    #43201
    AITpro Admin
    Keymaster

    If you want to remove IP addresses from the ADDITIONAL ROLES section of code do these steps.

    Deactivate the Plugin Firewall.
    Edit this file > /wp-content/plugins/bulletproof-security/admin/htaccess/plugins.htaccess
    Delete the lines of htaccess code that you no longer want. See the example below.
    Activate the Plugin Firewall.

    Example:

    Before:

    # BEGIN ADDITIONAL ROLES IP
    RewriteCond %{REMOTE_ADDR} !^127.0.0.1$
    RewriteCond %{REMOTE_ADDR} !^127.0.0.2$
    RewriteCond %{REMOTE_ADDR} !^127.0.0.3$
    RewriteCond %{REMOTE_ADDR} !^127.0.0.4$
    RewriteCond %{REMOTE_ADDR} !^104.6.198.18$
    RewriteCond %{REMOTE_ADDR} !^104.6.198.19$
    RewriteCond %{REMOTE_ADDR} !^104.6.198.20$
    # END ADDITIONAL ROLES IP

    After:

    # BEGIN ADDITIONAL ROLES IP
    RewriteCond %{REMOTE_ADDR} !^127.0.0.1$
    # END ADDITIONAL ROLES IP
    #43212
    pdlc
    Participant

    Thanks you for your answer. I close this post.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.