• Resolved grumpyted

    (@grumpyted)


    I have recently installed Bulletproof security on a site using Adaptive Images for WordPress. I found that bulleproof was
    1: blocking the rewrite on the htaccess file that stopped adaptive images working.
    2: if I allowed write privileges in bulletproof , bulletroof then quarantined the htaccess file.

    It seesm that adaptive images need to have access to the htaccess file to work, as no images load when access, to the htaccess file, is restricted.

    I turn of Bulletproof and all works fine.

    Bulletproof Security support say: “There is probably no need for the Adaptive Images for WordPress plugin to flush or write to the root htaccess file. That is just a defunct byproduct of the WordPress flush_rewrite_rules() function. ”

    I love both plugins, so is there a workaround for this at the Adaptive Images end?

    I welcome any comments or advice.

    Thank you,

    Ted

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, Ted,

    Well, we are in a case where there is a conflict of two good interests. Bulletproof security is right to try and block all write access to your htaccess file, because it wants to protect you. On the other hand, there is absolutely no other technical way for the Adaptive Image to do what it does without writing a bit of code to the htaccess file. Of course we guarantee that this is a harmless bit of code in the first place anyway!

    By the way, this has nothing to do with WordPress’s rewrite rules or flushing them. That part of their answer probably comes from the fact that they do not know the intricacies of our plugin.

    Now, if you need to use both plugins I guess you have two options.

    1. Let the Adaptive Images plugin configure itself first and then enable the Bulletproof security. I am not 100% sure this will work, but I see no reason why it shouldn’t.

    2. Enable both plugins and manually add to your htaccess file the bit of code that the Adaptive Images plugin needs. It shouldn’t be so hard to find that and you can always refer to option number 1 for this.

    Let me know how it goes!

    Cheers,
    Takis

    I will be downloading, installing and testing the plugins together. Initially I thought a root htaccess file flush was occurring, but now it sounds like Adaptive Images for WordPress needs to write to the root htaccess file once. So that would mean that the Adaptive Images for WordPress htaccess code would need to be saved to BPS Custom Code so that it is saved permanently. I will handle this one. Thanks.

    Plugin Author Takis Bouyouris

    (@nevma)

    Hi, @aitpro,

    Thank you very much for your input!

    Yes, the Adaptive Images plugin needs to write to the htaccess file only once, when its settings are saved. (Actually any time its settings are saved, but these are settings that do not generally change often.) So your approach should be able to bridge both needs.

    Thanks again!

    Cheers,
    Takis

    Thread Starter grumpyted

    (@grumpyted)

    Thank you both. Great support. Thank you.

    Plugin Author Takis Bouyouris

    (@nevma)

    You are welcome, it was a nice cooperation!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘htaccess file and bulletproof security’ is closed to new replies.