• Resolved TRY01

    (@try01)


    Hello,

    I recently changed security plugins to use Defender. I am also using your cache plugin, Hummingbird. Both are working great together.

    The previous security plugin added this to htaccess and for some reason it didn’t remove this code in the htaccess file…

    <Files "wp-config.php">
    	Order allow,deny
    </Files>

    I just seen this code in there. Plus, I thought it would need to be…

    <Files "wp-config.php">
    	Order allow,deny
            deny from all
    </Files>

    Ideally, I would like to remove that and select it as an option using Defender so your plugin would add it, if that is possible. I am not sure if that code is the reason why I don’t see the protect wp-config in Defender.

    Would having that code in htaccess cause any issues with Defender and Hummingbird since they both write to wp-config.php? Should I remove it/change it?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @try01,

    In general, Defender offers “Prevent PHP Execution” and “Prevent Information Disclosure” under Defender > Recommendation page which should be enough.

    The mentioned rule doesn’t block a plugin from reading or writing on wp-config.php, so it shouldn’t cause any conflicts and should work fine with Defender and Hummingbird.

    I hope this clears your query. Please do let us know if you need any further assistance.

    Have a nice day ahead.

    Kind Regards,
    Nithin

    Thread Starter TRY01

    (@try01)

    Thank you so much, Nithin. I’ll remove that code from my htaccess file and make sure I have your plugin options that you mentioned are selected.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-config question’ is closed to new replies.