Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#11994 closed defect (bug) (fixed)

Rewrite rules cause some URLs to fail

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

Description (last modified by wpmuguru)

MU Trac Ticket: ​http://trac.mu.wordpress.org/ticket/215

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
17 years ago

  • Description modified (diff)

#2 @wpmuguru
17 years ago

  • Description modified (diff)

#3 @wpmuguru
17 years ago

  • Owner set to wpmuguru
  • Status new → accepted

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

#4 @wpmuguru
17 years ago

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

#5 @nacin
17 years ago

  • Milestone Unassigned → 3.0

#6 @ocean90
17 years ago

  • Resolution → fixed
  • Status accepted → closed

For problems with the fix we can use #12136.

Note: See TracTickets for help on using tickets.