BulletProof Security
[resolved] Broken images after activating BulletProof Mode (5 posts)

  1. illusiodesign
    Posted 2 years ago #

    When I activate BulletProof Mode for the "Website Root Folder htaccess Security Mode", I'm getting broken images across my site. Hotlink image protection is turned off via cPanelX. Any recommendations?


  2. AITpro
    Plugin Author

    Posted 2 years ago #

    Well first off you cannot turn off the broken cPanel HotLink Protection Tool because disable/enable is broken as well.

    Please see this thread >>> http://wordpress.org/support/topic/plugin-bulletproof-security-broken-cpanel-hotlink-tool-404-errors-unable-to-edit-htaccess-files?replies=5

    Is your website a standard WordPress Single site or is it a Network/Multisite installation of WordPress?
    Did you click the AutoMagic buttons before activating BulletProof Modes?

  3. illusiodesign
    Posted 2 years ago #

    It's a standard WP Single site and no, I clicked onto the AutoMagic buttons after install. It appears to be working when I comment out TimThumb on the htaccess file.

  4. AITpro
    Plugin Author

    Posted 2 years ago #

    Ok then most likely your thumbnail script is named something other than timthumb.php, phpthumb.php, thumb.php or thumbs.php. Right mouse click on one of your image files and click on "Open image in new tab" or click on Properties depending on which Browser you are using so that you can see what the name of the thumbnail script is. Then you would just add it to the timthumb security filter.

    Example: "some-other-thumb-script-filename\.php"

    # TimThumb Forbid RFI By Host Name But Allow Internal Requests
    RewriteCond %{QUERY_STRING} ^.*(http|https|ftp)(%3A|:)(%2F|/)(%2F|/)(w){0,3}.?(blogger|picasa|blogspot|tsunami|petapolitik|photobucket|imgur|imageshack|wordpress\.com|img\.youtube|tinypic\.com|upload\.wikimedia|kkc|start-thegame).*$ [NC,OR]
    RewriteCond %{THE_REQUEST} ^.*(http|https|ftp)(%3A|:)(%2F|/)(%2F|/)(w){0,3}.?(blogger|picasa|blogspot|tsunami|petapolitik|photobucket|imgur|imageshack|wordpress\.com|img\.youtube|tinypic\.com|upload\.wikimedia|kkc|start-thegame).*$ [NC]
    RewriteRule .* index.php [F,L]
    RewriteCond %{REQUEST_URI} (some-other-thumb-script-filename\.php|timthumb\.php|phpthumb\.php|thumb\.php|thumbs\.php) [NC]
    RewriteRule . - [S=1]
  5. illusiodesign
    Posted 2 years ago #

    Cool, that did the trick. Thanks for the speedy reply and awesome plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic