• I cannot get domains to map when adding them to my multisite. I am trying to add some domains (to use as aliases and not redirects) to my main site, site ID = 1.

    When I go through the process of adding domains, nothing happens.

    I also have a warning at the top of my Settings > Domain Mapping when I click save (I have debug on):

    Notice: Undefined index: dm_remote_login in /home/xxxxxxxxxxx/public_html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 289

    Any ideas why I can’t add domains?

    https://ww.wp.xz.cn/plugins/wordpress-mu-domain-mapping/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    Mapping domains to the main site is not supported.

    Making a domain alias doesn’t need “domain mapping”, you park the 2nd domain name in cPanel (or whatever control panel you use).

    You should have .htaccess redirects to specify which domain is the “preferred” one (just like specifying whether you want http://www.domain.com or http://domain.com); or if you really want to keep either domain name used by visitors, specify <link rel=”canonical” … > in each page so search engines know the two domain names are aliases.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Domain mapping not saving when adding domains’ is closed to new replies.