[wp-hackers] OpenSearch RSS Autodiscovery for Searches - Kinda
mark.wordpress at txfx.net
Mon May 22 04:16:54 GMT 2006
On May 21, 2006, at 11:51 PM, Chris Pirillo wrote:
> This doesn't, and it should (according to .htaccess, TMK):
> One new line in the .htaccess (single line):
> RewriteRule ^os-query?(.*)$
> ch.php?$1 [QSA,L]
This will need to exist ABOVE the WordPress rewrite block. In fact,
you might want to put a comment below the WP rewrite block:
> # DON'T PUT ANYTHING DOWN HERE!
The reason for this is that WP's rewrite rules act as a sort of
"catchall." Anything that hasn't matched a rewrite rule yet and
points to a file that doesn't exist, gets sucked up by WordPress'
rewrite rules. So your rule wouldn't ever get matched down below it.
More information about the wp-hackers