[wp-trac] [WordPress Trac] #24211: WPMU works with example.com but not sub.example.com
WordPress Trac
noreply at wordpress.org
Tue Jul 23 14:02:50 UTC 2013
#24211: WPMU works with example.com but not sub.example.com
--------------------------+-------------------------
Reporter: Looimaster | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Multisite | Version: trunk
Severity: normal | Resolution: worksforme
Keywords: |
--------------------------+-------------------------
Changes (by markjaquith):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
Went through the same procedure. Got:
{{{
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
}}}
And:
{{{
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'blogs.local.dev');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
}}}
Created a site named `foo`. http://blogs.local.dev/foo/ works. All looks
good here. I'm guessing there is some other variable at play. Reopen the
ticket if you have more information!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24211#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list