Support » Networking WordPress » Multisite with www prefix, domain mapping

  • I have multisite wordpress using subdirectory system.

    for instance, my site root domain is, my wp-config is ..

    define('WP_ALLOW_MULTISITE', true); define('MULTISITE',true);
    define('PATH_CURRENT_SITE','/'); define('SITE_ID_CURRENT_SITE',1);

    I connect to but browser’s address bar has not

    I need www. prefix, so I change DOMAIN_CURRENT_SITE ‘’ to ‘’. but working root page broken all links (connect link -> redirect to root page)

    my .httaccess

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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]
    <IfModule mod_url.c>
    ServerEncoding UTF-8
    ClientEncoding EUC-KR

    And Second problem is domain name too.

    first site’s domain name is , second using this domain name

    and site2 using good working all links are working perfectly.

    but still link’s url is

    I want to change to

    What can I do?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite with www prefix, domain mapping’ is closed to new replies.