How to add new sites and map a custom domain in WordPress Multisite?

How to map a custom domain in WordPress Multisite

Team Leader Asked on February 11, 2017 in WORDPRESS.
Add Comment
1 Answer(s)

Mapping a domain to your subsite
1.Mapping a domain to your subsite allows you to use a different purchased domain to access a subsite on your Multisite network. For example, can be accessed as

2.Download the plugin WordPress MU Domain Mapping.

3.You will have to “Network Activate” the plugin, so that it will available for all the sites.

4.Once the plugin is “Network Activated” you will need to do some additional setup to ensure proper functionality of the plugin.
{i}Move sunrise.php into wp-content/. If there is a sunrise.php there already, you’ll just have to merge them as best you can.
{ii}Edit wp-config.php file and uncomment or add the SUNRISE definition line. If it does not exist please ensure it’s on the line above the last “require_once” command.

 define( 'SUNRISE', 'on' );

5.Once the plugin setup is completed, navigate to the Domains page.
6.First you’ll need to find the Site ID for the site {} and place it in the Site ID textbox on the Domain Mapping page.Add domain {} that you want associated with the subsite {}, keep the Primary textbox checked, and click on Save.

Team Leader Answered on February 25, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.