Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this next movie I'm going to be showing you how to install and configure the WordPress MU Domain Mapping plug-in. By now we should already have our domain parked or added on and the name servers up-to-date. If you don't have those steps completed, go back and watch the previous movies in this chapter. If you're at those steps, let's go ahead and install the plug-in. The easiest way to do this, because of the extra steps required to make this plug-in run, is to do it manually through an FTP program or a code editing window like coda. So I'm going to switch over into my code editing application, and as you can see, I'm connected via FTP to my domain.
In order to install the plug-in, I need to open up the wp-content plug-ins folder. I'm going to navigate here to my finder and go out to my desktop, where I have the wordPress-mu- domain-mapping plug-in downloaded and unpacked. I'll open that up. Inside of this folder are all of the files needed to make the plug-in run. However, there is one file that needs to be left alone. Its called sunrise.php. I'm going to take that out and drop it on my desktop by itself, and I'll go back.
So now you can see on my desktop I have the wordpress-mu-domain-mapping plug-in by itself and sunrise. I'll take this folder and drop it in to upload it. Now I'm going to go back over into my Dashboard, look at my installed plug-ins. Inside of the installed plug-ins I should see WordPress MU Domain Mapping. I'll click Network Activate. Then I'm going to come back to my code editing window. From my plug-ins folder I'll go back one directory into the wp-content folder.
Inside of wp-content that's where I have to put sunrise.php, so I'll find it on my desktop, drag it and drop it over. It should upload automatically. Once I have the sunrise.php document placed into my wp-content folder, I need to go back one directory and find my wp-config.php file. Inside of the wp-config.php file, I need to scroll down to where I defined the multisite installation. On my wp-config file, if I turn on line numbers that should be somewhere around line 85. I'll click right underneath define WP_ALLOW_MULTISITE and create a new line. I'm going type out define open parenthesis, open quote, sunrise, close single quote comma, single quote, on, single quote. Then go outside the parentheses and type a semicolon.
Basically ensuring that that function is ready to go. Then I'll go ahead and click Save, and that re- uploads that to my server. Now let's go back into my dashboard. Once I'm back into the dashboard, I can go into Settings, and I'll go down to Domain Mapping. You'll notice it tells me the domain mapping database table has been created. That means everything is working good. Now I have the domain mapping plug-in successfully installed and configured. I'm ready now to start mapping a domain to a specific site inside of my WordPress Multisite installation.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.