[wp-hackers] Rewrite hacking/recreation
lists at alexking.org
Mon Jan 29 20:53:16 GMT 2007
I ran into this problem as well in 2.x. The problem with the approach
outlined here is that WP looks at the original query string (not the
rewritten string) and parses that with the internal rewrite engine.
In the past I've proposed being able to add a special token ("wp-
ignore-internal-rules=1" or similar) so that WP would look at the GET
string (modified by my rewrite rules) instead of the original query
string, but this hasn't been met with much support.
On Jan 29, 2007, at 1:45 PM, Mark Jaquith wrote:
> That said, if you're serving the alternate feed by passing a
> special GET switch to your regular feed, and you're not worried
> about portability to non-mod_rewrite-enabled hosts, you might still
> be able to keep a hardcoded mod_rewrite rule in .htaccess, provided
> that it is put BEFORE the WordPress block.
> As an example:
> RewriteRule ^rss2/full/$ /index.php/rss2/?full=true [QSA,L]
> # WP's internal rewriter block goes here
More information about the wp-hackers