[wp-testers] Re: .htaccess automatically overwritten?

Ryan Boren ryan at boren.nu
Fri Mar 21 07:54:54 GMT 2008


On Fri, Mar 21, 2008 at 12:50 AM, deliciousdays
<oliver.seidel at deliciousdays.com> wrote:
> Right, I think this is the culprit:   function save_mod_rewrite_rules()
>
>  Has this changed recently? Granted, not too many plugin developer out
>  there that would benefit from knowing this (or have to know this), but
>  one for sure is donncha/WP Super Cache, as the plugin writes its entries
>  between the WP tags. There are probably more.

It hasn't changed recently. It's done this for years.  Any plugin that
adds rules needs to do so through the filters in WP_Rewrite so that
save_mod_rewrite_rules() knows about them.


More information about the wp-testers mailing list