Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#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:


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)

classes.php.diff (481 bytes) - added by filosofo 10 years ago.

Download all attachments as: .zip

Change History (4)

@filosofo10 years ago

comment:1 @matt10 years ago

  • Owner changed from anonymous to ryan

comment:2 @ryan10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3097]) Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864

comment:3 @anonymous9 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.