Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Once you have successfully mapped a domain here inside of WordPress Multisite, you may want to hide the original URL of the blog that you map that domain to. This could be the case if you had a really long URL and you just don't want the links to the post or the files that are associated with that blog to continue utilizing that long Subdomain URL. So here is what we are going to do. I'm going to be logged in as a Network Administrator, and I want to go over to Sites, and I'll choose All Sites. Currently I have one domain mapped to one site inside of my WordPress Multisite installation.
I've mapped my gnawledge.co domain to the tutorial.shutterclick.com domain name. So what am I going to do? I am going to go and find the tutorial subdomain and click Edit. Inside of these screens, you can actually hide the original URL. And it's very simple. Just come in and the Domain name here, change that to gnawledge.co or whatever your domain name happens to be. Then click Save Changes.
You also want to make sure that there are no instances of that on any of these other screens. The user screen is pretty safe. So is the Themes. The only other one you need to check out is Settings. In this case, the site url carries over. I will scroll down and you notice that it's propagated to here and towards the bottom. I need to make sure that the Fileupload Url has been changed as well.
Once I have changed over every instance of that domain, I click Save Changes. Now everything, including links, files, et cetera will be linked to that primary domain that I specified. You will no longer be able to access this site through that subdomain URL. So it's a pretty nifty way of cloaking the URL once you have already mapped it. As you can see, if I go into the gnawledge.co, everything is good to go. If I click on one of the posts, it opens up knowledge.co and everything after it, it's all good.
Once you have got your domain fully mapped inside of WordPress Multisite, you may want to throw on a redirect inside of your cPanel in order to make sure that every time someone types in that old URL, they are automatically redirected to that new URL that you spent so much time domain mapping. In order to do that, log in to your hosting account and access the cPanel. Inside of the cPanel, you are going to look for the Domain section. And inside of the Domain section, there's a Redirects area right here. Once you click on the Redirect area, you can come down here and specify the Type.
In this case, you want to do a Permanent (301) redirection. Then you are going to choose the domain you wish to redirect. Once you have picked that domain, you can also specify where it redirects to. You can select whether or not it only redirects when somebody types www or if it does both. I would suggest both. You can also say Not to Redirect with www. That's totally up to you. Once you're finished with that, click Add. It will automatically Add the redirect and you are ready to go. It could take up to 24 hours for this redirect to populate through DNS, so just be patient if it doesn't work right away.
But now you have got the complete picture on how to make sure you've completely hidden that original domain and successfully mapped your new domain inside of your WordPress Multisite installation.
Get unlimited access to all courses for just $25/month.Become a member
58 Video lessons · 59540 Viewers
61 Video lessons · 92378 Viewers
82 Video lessons · 104117 Viewers
56 Video lessons · 106913 Viewers
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.
Your file was successfully uploaded.