Wordpress MU Needs an option to formally allow enabling www for TLDs.
|Reported by:||wpmuguru||Owned by:|
MU Trac Ticket: http://trac.mu.wordpress.org/ticket/1105
tested on version 2.8.4a (not available in the Version menu)
I have a fresh WPMU instance set up to work with paths. Base install location is set to
I have a blog set up on http://example.com/site/ and a post that is accessible at
If I add a www. into this path, like this:
WPMU will redirect to
Expected behavior is to redirect to
The fix is a one-liner: line 167 in wpmu-settings:
header( "Location: http://" . $current_site->domain . $current_site->path );
header( "Location: http://" . $current_site->domain . $_SERVER['REQUEST_URI'] );
The patch is attached.