[wp-trac] [WordPress Trac] #26820: Multisites subdomain
WordPress Trac
noreply at wordpress.org
Mon Jan 13 10:14:31 UTC 2014
#26820: Multisites subdomain
-----------------------------+----------------------
Reporter: WC Master | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Multisite | Version: 3.8
Severity: normal | Resolution: invalid
Keywords: |
-----------------------------+----------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review =>
Old description:
> I have WordPress multisite.I want this site as WordPress.com .I want free
> website creating account with subdomain for public and registered
> user.But my current site does not support any subdomain.
> This is my config.php
> =====================
> define('MULTISITE', true);
> define('SUBDOMAIN_INSTALL', true);
> define('DOMAIN_CURRENT_SITE', 'www.fearth.us');
> define('PATH_CURRENT_SITE', '/');
> define('SITE_ID_CURRENT_SITE', 1);
> define('BLOG_ID_CURRENT_SITE', 1);
>
> and this is htaccess
> ====================
> RewriteEngine On
> RewriteBase /
> RewriteRule ^index\.php$ - [L]
>
> # add a trailing slash to /wp-admin
> RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
>
> RewriteCond %{REQUEST_FILENAME} -f [OR]
> RewriteCond %{REQUEST_FILENAME} -d
> RewriteRule ^ - [L]
> RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
> RewriteRule ^(.*\.php)$ $1 [L]
> RewriteRule . index.php [L]
>
> Now what can i do?
New description:
I have WordPress multisite.I want this site as WordPress.com .I want free
website creating account with subdomain for public and registered user.But
my current site does not support any subdomain.
This is my config.php
=====================
{{{
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'www.fearth.us');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
}}}
and this is htaccess
====================
{{{
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
}}}
Now what can i do?
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26820#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list