#1864 closed defect (bug) (fixed)
rewrite rules annoyance
Reported by: | filosofo | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.6 |
Component: | Administration | Keywords: | mod_rewrite classes.php rewrite request_uri |
Focuses: | Cc: |
Description
1.6 does not execute the rewrite rules for the home page if WordPress resides in the top level of a domain.
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.
That means that plugin creators can't modify the rewrite rules via filters, for example, to make the "home" page be something other than the most recent posts.
I've attached a patch to fix the problem.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [3097]) Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864