Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#11994 closed defect (bug) (fixed)

Rewrite rules cause some URLs to fail

Reported by: wpmuguru's profile wpmuguru Owned by: wpmuguru's profile wpmuguru
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Multisite Keywords:
Focuses: Cc:

Description (last modified by wpmuguru)

MU Trac Ticket:

The following lines are not necessary with a vhost install and $base = '/' :

RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]

They could conduct to an infinite rewrite loop and lead the web server to a 500 error.

Change History (6)

#1 @wpmuguru
14 years ago

  • Description modified (diff)

#2 @wpmuguru
14 years ago

  • Description modified (diff)

#3 @wpmuguru
14 years ago

  • Owner set to wpmuguru
  • Status changed from new to accepted

I have rules for nginx that fix this. I have to convert to apache and test.

#4 @wpmuguru
14 years ago

(In [12884]) change wp- rewrite more specific rewrite rule, see #11994

#5 @nacin
14 years ago

  • Milestone changed from Unassigned to 3.0

#6 @ocean90
14 years ago

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

For problems with the fix we can use #12136.

Note: See TracTickets for help on using tickets.