[wp-testers] rewrite rules in the top level directory

Austin Matzko if.website at gmail.com
Fri Nov 11 02:42:12 GMT 2005


1.6 only executes the rewrite rules if a number of conditions are met,
including this: "('/' != $_SERVER['REQUEST_URI'])" (see
wp-includes/classes.php).

In other words, if WP is in www.example.com/ and someone requests that
page, no rewrite rules will be considered.

However, if WP is in www.example.com/blog/ and someone requests that
page, the rewrite rules WILL be considered.

Can anyone explain why this condition exists?  It seems arbitrary, and
I'd like to submit a patch to remove it.

Austin


More information about the wp-testers mailing list