Step 6: Mapping Domains
It’s possible to map a second domain to your network, so that instead of having ParentSite.com and child.parentsite.com you have ParentSite.com and ChildSite.com
Part 1: Child Site Settings
Go to My Sites –> Network Admin –> Sites –> and click edit under the Child Site you want to set the domain.
The First page you come to is the “Info” page – DO NOT edit anything on this page. I know you will want to now that you have the ability to change it from being the child.parentsite.com structure – but if you change this – it will make it so you can’t easily log into your child site. Leave it alone!
Go to the “Settings” Tab
Once you are in the settings tab you will want to edit the Child siteURL and Homepage URL
In my case I changed these URLs from http://nerdinferred.beinggenevieve.com to http://nerdinferred.com/
If you feel so inclined – you can edit a bunch of other settings from this page.
Scroll all they way to the bottom and click “save”
Make note of the site ID: this is found in the URL of this page:
Part 2: Mapping the Domains
In order to do this, you need a plugin called WordPress MU Domain Mapping.
Note: Installing plugins is different now – now you have to go to My Sites–>Network Admin–>Plugins and install the plugin there. after you install the plugin you have the option to “network Activate” only choose that option if you want to activate the plugin across the whole network AND use the exact same settings for all of those sites. e.g. I don’t “network Activate” my google analytics plugin or else it would share the same Google Analytics code on all my sites – but I do “network Activate” my WP Super Cache and Akismet since I want those settings to be shared.
Once you activate the plugin, mapping the domain is similar to manually mapping the subdomains.
Go to My Sites –> Network Admin
- On the sidebar click on settings –> Domain Mapping
- You will need to type in your IP address for your hosting (found in your DNS records – look for an “A” record for your Parent Domain)
- You will also want to set you settings for how your domains are handled the following are the settings that worked the best for me with the least amount of problems
- unchecked Remote login
- checked Permanent redirect
- checked User domain mapping page
- unchecked redirect administration pages
- unchecked disable primary domain check.
- On the sidebar click on settings –> Domains