WebMatros / Headway Hero member Ngozi wanted to know how she can run multiple Headway websites, from the same WordPress install. Quickly, my comment spiraled into a mega-comment, worthy of inclusion in Guiness’ Book of World Record’s (for longest comment ever), so I decided to turn this into this impromptu blog post, so you may benefit as well:) The subject of creating a WordPress multisite network is widely described around the web, but here I do my best to make it really easy to understand – and simple to follow – step by step.
Ok, here’s how it’s approached, in rough steps:
First up, Headway fully supports what’s known as WordPress Multisite.
Multisite was originally known as WordPress MU (short for Multi User) – an extended version of WordPress, capable of running multiple websites, from a single WordPress install. It’s what WordPress.com – the hosted WordPress-solution (offered by Matt Mullenweg’s company Automattic) – is based upon.
Activating WordPress Multisite
To enable Multisite on your site is a bit technical. Depending on your technical skills, you may need to hire “a geek” to do it for you. For a technical person it’s a 30 minute affair, easily done. In some cases, your web hosting company can help you out if you ask them nicely. In any case, you need to check with them, whether your hosting plan supports WordPress Multisite. Not all do!
Okay, so let’s assume you have hosting, capable of running a WordPress multi-site:
First, to enable multisite, ak in your (until then/now) “single-site” WordPress install, the directions you need to follow, are these:
http://codex.wordpress.org/Create_A_Network
Successfully and fully followed, those instructions have now given you the ability to run multiple totally independent WordPress websites, from your one and only WordPress install. Nice ‘eh?
But we’re (most likely) not there yet! Unless you plan on using these WordPress sites for the purpose of demo-sites (showcasing f.e. themes or plugins) or you wanna run a free blogging platform, perhaps for your local community; you’d need to take an extra step.
You see, what you have now, will be different sites yes, but all on a single domain, either placed in subfolders/subdirectories, or on subdomains. Like this:
Subdirectories/subfolders:
myoriginalsite.com/freshwebsite1
myoriginalsite.com/freshwebsite2
myoriginalsite.com/freshwebsite3
Subdomains:
freshwebsite1.myoriginalsite.com
freshwebsite2.myoriginalsite.com
freshwebsite3.myoriginalsite.com
Most of you will probably want this instead:
www.freshwebsite1.com
www.freshwebsite2.com
www.freshwebsite3.com
… or without www for that matter:
freshwebsite1.com
freshwebsite2.com
freshwebsite3.com
Note: no matter which option (above or below) you choose; your original site (myoriginalsite.com) will still be available, unaffected by all this. So don’t worry: it doesn’t disappear!
What to do? Well, install the trusty WordPress MU Domain Mapping plugin and follow its instructions.
What else you need to know
Finally, a couple of things you should be aware of, choosing to go the multi-site route:
1. Once you go multisite, it’s hard to go back. It’s a one way road!
2. Your sub-sites will not be easily to separate from your multi-site install. If you f.e. host your clients sites this way, and they wanna move their site elsewhere, use the analogy (or is it a metaphor? Can never remeber the difference…) of trying to separate two siamese twins. It _can_ be done, but would require a _very_ sharp saw! Prolly a chainsaw. And that would turn this into a horror movie. Ahem…
(I’m sure they’ll understand…)
3. Multisite has the benefit of giving your sub-website users access to the Appearance tab in the WordPress admin. This includes the ability for them to edit their menus, and switch themes etc – but not install plugins. This is desirable, and on normal WordPress sites, access to the Appearance tab (your clients should be able to edit their menus!) would require them to have Administrator-level access. But that would also let them install plugins – and I strongly suggest they should NOT be able to install plugins. The result is usually installation of some bug-ridden, incompatible, security-holed crappy “social sharing buttonz” plugin. WordPress Multisite solves this problem, elegantly.
4. Whenever there’s an update available for the Domain Mapp.. plugin: DO NOT update it via WordPress’ auto-updating feature. You’ll likely need to manually also update the sun… file that’s placed in your … directory. Not paying attention to this can, potentially (I’ve been there) bring down all sites.
5. WordPress Multisite rocks! I like it a lot! So give it a try if you haven’t already!
Any questions? Ask ’em in the comment section below! I’ll love to hear from you!
So how do you enable a multisite with the Headway theme, which does not allow access to the wp-config.php folder?
Hey Daniel
Thanks for your question:)
Headway doesn’t require wp-config.php access to run on a WordPress multisite. You only need that to set up the domain mapping. Not for Headway to work, but for WordPress to be able to map your domain:)
Makes sense?
=)
Oliver
There’s some hosting companies that include WP multisite using a GUI admin panel
Hi Oliver,
Thanks for the post!
I have a question – once the multi site is set up if I wanted to add another totally separate domain at a later date would that be a straight forward process that I could do?
Cheers
Ngozi
Hi Ngozi
When WordPress’ multisite feature has been enabled and set up; creating new sites in WordPress, is as easy as going to the Network admin section and creating them with a few clicks. Easy stuff.
But whether you can then also do the domain mapping part, depends on the web host you have. If they have a “parked” domains” feature (where the parked domains point to your main install – i.e. the WordPress multisite), you can usually use it to map the domains.
If your web host does not offer parked domains, you’d have to create a so-called “symlink”, which is done via the command line / terminal, aka it requires you to be a code geek:) If you’re not: ask your webhost kindly, and they might do it for you (it takes just a minute once you know how).
A symlink, is a small “file” (which isn’t really a file, as it’s more of just a link) that redirects to another place in a filesystem. Using a symlink “tricks” the server into thinking “mynewwebsite1.com” is actually located somewhere else (i.e. your WordPress multisite). Not to be confused with a regular redirect link!
A symlink also has to be treated with care. Deleting it via FTP MAY (but not always) risk deleting the main directory, since the server thinks that’s what you’re deleting. I hope that makes sense. But anyway, that’s why one should always delete symlinks via the terminal / command line, as that way it can be done right, and without risk of deleting everything:)
Thanks for asking! A great question!
Oliver