Top Menu

Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday 9 May 2017

Setting up WordPress Multisite

Setting up Multisite on a localhost provides a quick and easy way to test/develop themes and plugins away from a live site.

Open your wp-config.php file again and add/edit the following lines to activate Multisite’s installation mode:


Click on the WampServer icon in your system tray and ensure your Apache and MySQL servers are running.
Login to your localhost site in your browser and under “Tools” you will now have a new option, “Network Setup.”


Enter a name for your network and your email address, then click “Install.”
WordPress will prompt you to edit your wp-config.php and .htaccess files.
Following the onscreen instructions, open wp-config.php and add the following lines underneath your previous edit:



Next, open .htaccess. If you can’t find it, make sure hidden files are displaying on your computer.
Your .htaccess file should look like this:



Edit your .htaccess file to complete your Multisite installation.
Multisite should now be enabled and working on your WordPress site!



WampServer offers a relatively easy way to run a local server environment on your Windows machine, allowing you to test and develop locally rather than online.

Running WordPress locally will save you a lot of time since you won’t have to install and uninstall a fresh copy of WordPress each time you test themes and plugins with your web host.

While WampServer is free and open source software, it’s easy to run into trouble setting it up on Windows. While putting this tutorial together I ran into a bunch of issues trying to get Apache working. XAMPP is relatively easier to setup and I would recommend that as a more reliable alternative.

No comments:

Post a Comment