[wpmu-trac] [WordPress MU Trac] #1167: Requests for URLs that contain ".php" aren't routed to WPMU
WordPress MU Trac
wpmu-trac at lists.automattic.com
Wed Dec 2 03:22:21 UTC 2009
#1167: Requests for URLs that contain ".php" aren't routed to WPMU
--------------------------+-------------------------------------------------
Reporter: jamescollins | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Version: 2.8.2
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by wpmuguru):
For you particular application what you could do is add
{{{
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2
}}}
just before
{{{
RewriteCond %{REQUEST_FILENAME} -f [OR]
}}}
That way it would remove the blog/path offset and the check for the file's
existence would redirect to . (index.php)
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/1167#comment:5>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list