[wpmu-trac] [WordPress MU Trac] #1012: Default .htaccess
RewriteRules do not cover all possible username characters
WordPress MU Trac
wpmu-trac at lists.automattic.com
Thu Jul 2 15:11:54 GMT 2009
#1012: Default .htaccess RewriteRules do not cover all possible username
characters
------------------------+---------------------------------------------------
Reporter: cmsj | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: component1 | Version: 2.7.1
Severity: normal | Keywords:
------------------------+---------------------------------------------------
I just installed wpmu and created a blog/user of the form
"firstname.lastname", but the resulting blog did not display correctly.
After investigating I realised that the .htaccess is the key to the blog
URLs working.
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
don't include "." in. Changing it to the following, fixed it in my case,
but I imagine there are many many more missing. that class should really
include all charcters valid in a URL part.
RewriteRule ^([._0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([._0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/1012>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list