Support » Plugin: WordPress MU Domain Mapping » Map subdomain to subdomain

  • I am working with a WordPress network, (configured to use subdomains) and I am trying to do the following:

    I want to map to, where is an external site that I control and is my site on the network.

    I’ve done what I think I’m supposed to do for this—that is to say, added a CNAME record for that points to, but instead of loading the specific site on the network to which I’ve mapped it, sends me to the root site on the network. Any ideas? DNS records are as follows.

    Host		Records		Details
    @			A
    *			A
    blog		CNAME

    Host		Records		Details
    @			A
    *			A
    www			CNAME

    And .htaccess for is as follows.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    # always redirect non-logged-in users on the main site to wp-signup.php
    RewriteRule ^wp-(signup|activate)\.php /wp-content/themes/network-root/.core/wp-$1.php [L,QSA]
    # 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]
    # RewriteCond %{REQUEST_METHOD} POST
    # RewriteCond %{REQUEST_URI} .wp-signup.php*
    # RewriteCond %{HTTP_REFERER} ! [OR]
    # RewriteCond %{HTTP_USER_AGENT} ^$
    # RewriteRule (.*) [R=301,L]
    # Disable directory browsing:
    Options -Indexes

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Map subdomain to subdomain’ is closed to new replies.