Support » Plugin: BulletProof Security » [Plugin: BulletProof Security] Skips and custom code plugin fixes ??

  • Resolved Stacy (non coder)


    Want to understand this part of the secure.htaccess code. Thanks.

    # CUSTOM CODE PLUGIN FIXES – Your plugin fixes .htaccess code will be created here with AutoMagic

    # Adminer MySQL management tool data populate
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/adminer/ [NC]
    RewriteRule . – [S=12]
    # Comment Spam Pack MU Plugin – CAPTCHA images not displaying
    RewriteCond %{REQUEST_URI} ^/wp-content/mu-plugins/custom-anti-spam/ [NC]
    RewriteRule . – [S=11]
    # Peters Custom Anti-Spam display CAPTCHA Image
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/peters-custom-anti-spam-image/ [NC]
    RewriteRule . – [S=10]
    # Status Updater plugin fb connect
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/fb-status-updater/ [NC]
    RewriteRule . – [S=9]
    # Stream Video Player – Adding FLV Videos Blocked
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/stream-video-player/ [NC]
    RewriteRule . – [S=8]
    # XCloner 404 or 403 error when updating settings
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/xcloner-backup-and-restore/ [NC]
    RewriteRule . – [S=7]
    # BuddyPress Logout Redirect
    RewriteCond %{QUERY_STRING} action=logout&redirect_to=http%3A%2F%2F(.*) [NC]
    RewriteRule . – [S=6]
    # redirect_to=
    RewriteCond %{QUERY_STRING} redirect_to=(.*) [NC]
    RewriteRule . – [S=5]
    # Login Plugins Password Reset And Redirect 1
    RewriteCond %{QUERY_STRING} action=resetpass&key=(.*) [NC]
    RewriteRule . – [S=4]
    # Login Plugins Password Reset And Redirect 2
    RewriteCond %{QUERY_STRING} action=rp&key=(.*) [NC]
    RewriteRule . – [S=3]

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


    These are plugin and query string .htaccess bypass / skip rules. They are designed to allow whatever plugin or query string you want to bypass / skip the BPS Security filters and go to the last RewriteRule, which is the standard WP RewriteRule >>> RewriteRule . /index.php [L].

    S=3 means skip 3 RewriteRules
    S=12 means skip 12 RewriteRules

    If you add a plugin fix of your own to Custom Code plugin fixes then it would be skip rule 13 and you would want it to skip 13 RewriteRules so the it goes directly to RewriteRule . /index.php [L] instead of being filtered by the BPS Security filtering .htaccess code. The same would apply for a query string bypass / skip rule.

    More Help Info can be found by clicking the Read Me help button on the Custom Code page in BPS.

    I don’t have any of these listed plugins, that’s what I don’t understand.

    Plugin Author AITpro


    The plugin fixes that are included are for popular plugins that need a bypass / skip rule in BPS. If you are not using any of these plugins then the rule does nothing. If you install one of these plugins at a later date then it will already have a bypass / skip rule created. The Query String bypass / skip rules need to be there otherwise you will run into problems. They pertain to WP generally and you may actually be using a plugin that needs one of those Query String bypass / skip rules without knowing it.

    In a nutshell – you can just ignore these – either they will have no effect or they will cause something to automatically just work. These fixes are automatically included so that i do not have to provide these fixes on a case by case basis.

    k got it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: BulletProof Security] Skips and custom code plugin fixes ??’ is closed to new replies.