Join Justin Seeley for an in-depth discussion in this video Enabling the Network feature, part of Creating and Managing a Blog Network with WordPress.
- View Offline
Now it's time to actually enable the Multisite feature here inside of WordPress. So as you can see, I'm logged into the WordPress Dashboard, and I'm going to have that open throughout this movie. I'm also going to jump over into my code editing application; this could be any type of editing application that you wish. In this case, I happened to be using Coda. I've already got open my wp-config file which should be located in the root directory of your WordPress installation. It's simply labeled wp-config.php. You'll also need access to a file called .htaccess.
In most code editing applications you won't see hidden files by default. The .htaccess file is one of these hidden files. In Coda, I simply go up to View and choose Show Invisible Files. Your process may vary, depending on the type of application that you are using. Once you've located the .htaccess file, simply open it up in your Code Editing window and you are ready to go. I am going to start by going back over to my wp-config.php file. Inside of this document you need to scroll down until you find something that says, That's all, stop editing! Happy blogging. Should be around line 83 or 82 of the code.
Once I find that area, I need to click in the line directly above it and start to add some code. This is the code that is used to actually enable the WordPress Multisite feature inside of WordPress. I start off by saying that I'm going to define('WP_ALLOW_MULTISITE', true, and then we will close our parentheses.
At the end of the parentheses, we're going to type a semicolon. It's very important that while you're typing out this code snippet that you keep everything exactly how you see here on the screen. You also want to make sure that the WP_ ALLOW_MULTISITE portion of the code is in all capital letters. Once you have this code typed out, all you have to do is save your wp-config file and then re-upload it to your server. Once it's uploaded to your server, go back to your WordPress installation. Once you are back inside of your WordPress installation, simply refresh the page, and if you want to make sure that everything went smooth while you were enabling your network, simply go down to the tools menu and you should see a link that points to Network Setup.
If you see that link, everything is good and you are ready to proceed to the next step.
- Optimizing the hosting environment for Multisite
- Enabling the Network feature
- Troubleshooting network configurations
- Creating your first site
- Installing and enabling themes on a per-site basis
- Defining a default theme sitewide
- Controlling access to sites
- Enabling features for site administrators
- Displaying a list of networked sites
- Broadcasting news across all sites
- Gathering and using comments network-wide
- Mapping domains and mapping to certain sites
- Installing and configuring BackupBuddy
- Migrating a stand-alone site into a network