Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1864 closed defect (bug) (fixed)

rewrite rules annoyance

Reported by: filosofo's profile filosofo Owned by: ryan's profile 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)

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

Download all attachments as: .zip

Change History (4)

#1 @matt
19 years ago

  • Owner changed from anonymous to ryan

#2 @ryan
19 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

#3 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.