[wp-hackers] rewrite_rules filter

Matt Mullenweg m at mullenweg.com
Wed Jun 30 22:26:24 UTC 2004


Ryan Boren wrote:

> The rewrite_rules filter is applied in options-permalink.  This allows
> extra RewriteRule strings to be added to the output generated for
> htaccess.  However, these additional rules are not available for
> PATH_INFO processing.  To get the added rules in both places, the
> rewrite_rules filter needs to be called in rewrite_rules() where it can
> add entries directly into the rules array.  This way plugins that
> manipulate rewrite rules will also work for those using PATH_INFO rather
> than htaccess.

Along this same line we need to get the automatic updating of .htaccess 
together before 1.3.

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://pingomatic.com | more soon...



More information about the hackers mailing list