Support » Plugin: WordPress MU Domain Mapping » separate domain names?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Not the developer, but I can confirm the plugin works with such a setup. I use it with multiple domains as well as subdomains.

    Thanks for confirming this.
    I have been successfully using it for sub-domains and do see I can add primary domains (or actually whatever I want), but will need to use primary domains for an upcoming project so great to know this does work for you.

    @kionae Can you share any WP-Config and .htaccess parts you have set up to accomplish this. I was previously working on a project to use primary domain names, but the got scrapped so ended up not following through on my Dev server.

    Now I’m testing this on my Dev server (NGINX based) where I have full CLI control and not able to get this to work.

    Here are my WP-Config settings:
    define( ‘WP_DEBUG’, true );
    define(‘CUSTOM_USER_TABLE’, ‘wp_abc123_users’);
    define(‘CUSTOM_USERMETA_TABLE’, ‘wp_abc123_usermeta’);
    define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘domain.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);
    define(‘SUNRISE’, true);

    My .htaccess:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>

    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]

    </IfModule>
    # END WordPress

    TIA

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.