iThemes Security (formerly Better WP Security)
[Req] Add filter for generated htaccess rules (2 posts)

  1. mazzzzz
    Posted 3 years ago #

    Recently we ran into the issue documented here: http://www.sitepoint.com/forums/showthread.php?900027-403-error-in-chrome-with-empty-search-string

    We still wanted to be able to filter dangerous URL strings, so instead of turning off that feature, we wanted to just change the generated rules.

    To fix this we added:

    $rules = apply_filters('better_wp_security_htaccess_rules', $rules, $bwpsserver);

    To /plugins/better-wp-security/inc/admin/common.php:745

    It'd be nice if you added this to the actual plugin, so for those of us who need to make modifications to the htaccess for any number of reasons can, without having to modify the plugin.



  2. hehafner
    Posted 3 years ago #

    I just found your post here.... I have made a post of my own regarding the .htaccess. I've been trying to write redirects but I get problems with the .htaccess. I've unchecked it in BWPS but that just brings a syntax error and I cannot do the redirect.

    I caught you post and wondered if this could be a similar issue to what you've posted. Will this allow that to work? I'm not savvy with PHP.

    Thank you for your post.

    Heidi Hafner

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic