[wp-hackers] rewrite_rules filter

Ryan Boren ryan at boren.nu
Thu Jul 1 04:15:42 UTC 2004


On Wed, 2004-06-30 at 22:40 -0500, Matt Mullenweg wrote:
> Owen Winkler wrote:
> 
> > Might it be possible to insert the rules between a set of WordPress specific
> > comments, and only replace what is between these comments?
> 
> Yes that's the idea. # Comments are allowed in .htaccess files.

Code to do this could be stolen from another GPL project, such as
Gallery.  It uses #BEGIN and #END tags to mark its additions to
htaccess.  It's not hard code to write, just painfully dull to do for
the gazillionith time.  Might as well steal.

Any takers, or do I have to do it?

Ryan




More information about the hackers mailing list