{"id":130039,"date":"2014-06-19T08:00:00","date_gmt":"2014-06-19T12:00:00","guid":{"rendered":"http:\/\/premium.wpmudev.org\/blog\/?p=130039"},"modified":"2022-03-17T04:53:55","modified_gmt":"2022-03-17T04:53:55","slug":"how-to-set-up-wordpress-locally-for-pcwindows-with-wamp","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/how-to-set-up-wordpress-locally-for-pcwindows-with-wamp\/","title":{"rendered":"Setting Up WordPress Locally for PC\/Windows with WampServer"},"content":{"rendered":"<p>Having WordPress set up as a localhost on my computer has become invaluable to workflows, particularly when regularly testing themes and plugins. This article shows you how to set up WordPress locally for PC\/Windows by using WampServer.<\/p>\n<p>My local sites run much faster, plus testing products on my local machine is much safer than testing on a live site &#8211; not to mention much cheaper without the cost of web hosting.<\/p>\n<p>Setting up a local server environment for WordPress isn&#8217;t difficult and will save you time in the long run since you won&#8217;t have to install and uninstall a fresh copy of WordPress online each time you test or develop something for WordPress.<\/p>\n<p>There are many options for Windows. I&#8217;ve previously looked at how to set up a localhost using XAMPP. In this tutorial, I&#8217;ll walk you through how to set up <a title=\"WampServer\" href=\"https:\/\/sourceforge.net\/projects\/wampserver\/\" rel=\"noopener\" target=\"_blank\">WampServer<\/a>, including installation, creating a MySQL database, and installing WordPress. I&#8217;ve included optional steps for setting up Multisite.<\/p>\n<p>Continue reading, or jump ahead using these links:<\/p>\n<ul>\n<li><a href=\"#what-is-wamp-server\">What is WampServer?<\/a><\/li>\n<li><a href=\"#installing-wamp-serve\">Installing WampServer<\/a><\/li>\n<li><a href=\"#check-wamp-server-is-running\">Check WampServer is Running<\/a><\/li>\n<li><a href=\"#mysql\">Setting Up Your MySQL Database<\/a><\/li>\n<li><a href=\"#install-wordpress\">Download and Install WordPress<\/a><\/li>\n<li><a href=\"#setting-up-wordpress-multisite\">Setting up WordPress Multisite<\/a><\/li>\n<\/ul>\n<h2 id=\"what-is-wamp-server\">What is WampServer?<\/h2>\n<p>WampServer is a popular Windows web development environment that allows you to create web applications with Apache2, PHP, and a MySQL database.<\/p>\n<p>WordPress isn&#8217;t a stand-alone application and needs server software to run. WampServer provides the necessary server environment so you can install and run WordPress on your local machine rather than on the internet.<\/p>\n<h2 id=\"installing-wamp-server\">Installing WampServer<\/h2>\n<p>Head over to the <a title=\"WampServer\" href=\"https:\/\/sourceforge.net\/projects\/wampserver\/\" rel=\"noopener\" target=\"_blank\">WampServer site<\/a> and <a title=\"WampServer\" rel=\"noopener\" target=\"_blank\">download the latest version<\/a> of the software. WampServer is an open-source project and is free to use.<\/p>\n<figure id=\"attachment_130135\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wampserver-site.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-130135\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wampserver-site-700x591.jpg\" alt=\"WampServer site\" width=\"700\" height=\"591\" \/><\/a><figcaption class=\"wp-caption-text\">The WampServer site.<\/figcaption><\/figure>\n<p>The WampServer site offers two versions of the software &#8211; 32 BITS or 64 BITS. Click on\u00a0the version you prefer.<\/p>\n<p>A warning message will display. Click on &#8220;download directly,&#8221; and you&#8217;ll be taken to the SourceForge website. The download will automatically start in 5 seconds.<\/p>\n<p>The WampServer executable file is small at just 41.5MB, compared to XAMPP, which is 125MB.<\/p>\n<p>You may receive warnings about installing the software on your computer. As you would when installing any software on Windows, use your best judgment, though it&#8217;s best to ignore the warnings if you want the installation to continue.<\/p>\n<p>The WampServer\u00a0setup wizard will guide you through the installation.<\/p>\n<figure id=\"attachment_130136\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wampserver-installation.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130136\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wampserver-installation.jpg\" alt=\"WampServer installation\" width=\"503\" height=\"388\" \/><\/a><figcaption class=\"wp-caption-text\">WampServer setup wizard.<\/figcaption><\/figure>\n<p>The next window will ask you to agree with the software&#8217;s terms and conditions. Check &#8220;I accept the agreement&#8221; and click &#8220;Next.&#8221;<\/p>\n<figure id=\"attachment_130137\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/terms.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130137\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/terms.jpg\" alt=\"Terms and conditions\" width=\"503\" height=\"388\" \/><\/a><figcaption class=\"wp-caption-text\">WampServer terms and conditions<\/figcaption><\/figure>\n<p>Next, select where you would like to install the software and click &#8220;Next.&#8221; The default is c:\\wamp, which I&#8217;m going to use for this tutorial.<\/p>\n<figure id=\"attachment_130139\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/installation-location.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130139\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/installation-location.jpg\" alt=\"Installation location\" width=\"503\" height=\"388\" \/><\/a><figcaption class=\"wp-caption-text\">Choose a location for the software on your local machine.<\/figcaption><\/figure>\n<p>In the next window, you can choose to create shortcuts so you can quickly and easily access WampServer on your computer. I&#8217;m not going to create any for this tutorial.<\/p>\n<figure id=\"attachment_130140\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/icons.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130140\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/icons.jpg\" alt=\"Icons\" width=\"503\" height=\"388\" \/><\/a><figcaption class=\"wp-caption-text\">Create shortcuts for WampServer.<\/figcaption><\/figure>\n<p>The software is now ready to install, so go ahead and click &#8220;Install.&#8221;<\/p>\n<figure id=\"attachment_130141\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/install.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130141\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/install.jpg\" alt=\"Install WampServer\" width=\"503\" height=\"388\" \/><\/a><figcaption class=\"wp-caption-text\">Ready to finish installing WampServer.<\/figcaption><\/figure>\n<p>Once installed, you may be prompted to choose your default browser. In my case, I chose Google Chrome.<\/p>\n<p>You&#8217;ll then be prompted again to specify the SMTP server and the email address to be used by PHP. These settings aren&#8217;t all that important, so just leave the defaults and click &#8220;Next.&#8221;<\/p>\n<figure id=\"attachment_130142\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/mail-setup.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130142\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/mail-setup.jpg\" alt=\"Mail setup\" width=\"503\" height=\"388\" \/><\/a><figcaption class=\"wp-caption-text\">Fill in your details or just leave the defaults.<\/figcaption><\/figure>\n<p>Installation is now complete! Click &#8220;Finish&#8221; and the software will launch.<\/p>\n<figure id=\"attachment_130144\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wampserver-ready.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130144\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wampserver-ready.jpg\" alt=\"WampServer ready\" width=\"503\" height=\"388\" \/><\/a><figcaption class=\"wp-caption-text\">WampServer is now ready to use.<\/figcaption><\/figure>\n<h2 id=\"check-wamp-server-is-running\">Check WampServer is Running<\/h2>\n<p>If you click &#8220;Finish&#8221; and the software doesn&#8217;t launch and you run into any errors, it might be that you don&#8217;t have the Microsoft <span style=\"color: #000000;\">Visual C++ libraries installed on your computer. Apache and PHP won&#8217;t run without them.<\/span><\/p>\n<p style=\"color: #000000;\">For Windows 64BIT: Install the Visual C++ 2010 SP1 Redistributable Package x64 : <a title=\"VC10 SP1 vcredist_x64.exe\" href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=26999\" rel=\"noopener\" target=\"_blank\">VC10 SP1 vcredist_x64.exe<\/a><\/p>\n<p style=\"color: #000000;\">Depending on your local machine, you may have to install one or both of these files. If WampServer still doesn&#8217;t work, try installing <a title=\"Visual C++ Redistributable for Visual Studio 2012 Update 4\" href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=30679\" rel=\"noopener\" target=\"_blank\">Visual C++ Redistributable for Visual Studio 2012 Update 4<\/a>.<\/p>\n<p style=\"color: #000000;\">If you continue to have any issues, check out the <a title=\"WampServer Forums\" href=\"http:\/\/forum.wampserver.com\/\" rel=\"noopener\" target=\"_blank\">WampServer forums<\/a>.<\/p>\n<p style=\"color: #000000;\">If any security warnings pop up, such as firewall warnings,\u00a0be sure to allow access otherwise the software won&#8217;t work.<\/p>\n<p style=\"color: #000000;\">If you click &#8220;Finish&#8221; and the software does launch, a WampServer icon will appear in the systems tray.<\/p>\n<figure id=\"attachment_130159\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/system-tray.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130159\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/system-tray.jpg\" alt=\"System tray\" width=\"234\" height=\"40\" \/><\/a><figcaption class=\"wp-caption-text\">A green WampServer icon means your servers are running.<\/figcaption><\/figure>\n<p>The color of the WampServer icon allows you to quickly determine the status of your servers.<\/p>\n<ol>\n<li>If the icon is red, the server isn&#8217;t running and is offline. You may need to restart WampServer or check out the WampServer forums for more help.<\/li>\n<li>If it is orange, the server is partially running, i.e. Apache may be running and the MySQL service is offline. Click on the WampServer icon and check the service status next to Apache and MySQL to see if they are running. You may need to restart WampServer, and if it still doesn&#8217;t work, check out the WampServer forums.<\/li>\n<li>If the icon is green, it means the server is running and you should be able to access localhost from your browser.<\/li>\n<\/ol>\n<p>To test it, go to &#8220;localhost&#8221; in your browser.<\/p>\n<figure id=\"attachment_130150\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/localhost1.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-130150\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/localhost1-700x517.jpg\" alt=\"Localhost\" width=\"700\" height=\"517\" \/><\/a><figcaption class=\"wp-caption-text\">Check that localhost is working by typing &#8220;localhost&#8221; into your browser.<\/figcaption><\/figure>\n<h2 id=\"mysql\">Setting Up Your MySQL Database<\/h2>\n<p>Before we install WordPress, we need a database.<\/p>\n<p>Click on the WampServer icon in your system tray and then click on phpMyAdmin.<\/p>\n<figure id=\"attachment_130151\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/phpmyadmin.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130151\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/phpmyadmin.png\" alt=\"phpMyAdmin\" width=\"194\" height=\"319\" \/><\/a><figcaption class=\"wp-caption-text\">Let&#8217;s create a new database for your WordPress installation.<\/figcaption><\/figure>\n<p>A new browser window will automatically open with the phpMyAdmin interface.<\/p>\n<figure id=\"attachment_129996\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/xampp-phpmysql.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-129996\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/xampp-phpmysql.jpg\" alt=\"XAMPP phpMyAdmin\" width=\"697\" height=\"537\" \/><\/a><figcaption class=\"wp-caption-text\">Click &#8220;phpMyAdmin&#8221; or go to &#8220;localhost\/phpmyadmin&#8221; in your browser.<\/figcaption><\/figure>\n<p>Click on \u201cDatabases\u201d near the top-left and you\u2019ll be prompted to create\u00a0a new database. I\u2019ve called mine \u201cWP\u201d.<\/p>\n<p>When you\u2019ve entered a name, click \u201cCreate\u201d and close the window.<\/p>\n<figure id=\"attachment_129997\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/xampp-database.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-129997\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/xampp-database.jpg\" alt=\"XAMPP MySQL database\" width=\"697\" height=\"537\" \/><\/a><figcaption class=\"wp-caption-text\">Quickly and easily set up a new MySQL database for WordPress.<\/figcaption><\/figure>\n<h2 id=\"install-wordpress\">Download and Install WordPress<\/h2>\n<p><a style=\"font-weight: inherit; font-style: inherit;\" title=\"Download WordPress\" href=\"https:\/\/wordpress.org\/download\/\" rel=\"noopener\" target=\"_blank\">Download\u00a0<\/a>the latest version of WordPress.<\/p>\n<p>In order to get WordPress working with WampServer you\u00a0need to unzip WordPress to the right folder. Extract WordPress to the\u00a0<span style=\"font-weight: 600; font-style: inherit;\">C:\/wamp\/www\/ folder.<\/span><\/p>\n<p>You can rename the WordPress folder whatever you like. I&#8217;m going to keep it as &#8220;wordpress.&#8221;<\/p>\n<figure id=\"attachment_130153\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wordpress.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130153\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wordpress.jpg\" alt=\"WordPress\" width=\"582\" height=\"421\" \/><\/a><figcaption class=\"wp-caption-text\">Extract the latest version of WordPress to the &#8220;www &#8220;folder in &#8220;wamp.&#8221;<\/figcaption><\/figure>\n<p>Next, open your WordPress folder, find the<em>\u00a0wp-config-sample.php<\/em>\u00a0file and\u00a0rename it\u00a0<em><span style=\"font-weight: 600; font-style: inherit;\">wp-config.php<\/span><\/em>. Open the file and scroll down until you see the following lines:<\/p>\n<figure id=\"attachment_130003\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wp-config-database-details1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130003\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/wp-config-database-details1.png\" alt=\"wp-config database details\" width=\"540\" height=\"198\" \/><\/a><figcaption class=\"wp-caption-text\">Update your wp-config.php file with your database details.<\/figcaption><\/figure>\n<p>These lines of code define the login details for your database. Replace\u00a0<em>\u201cdatabase_name_here\u201d<\/em>\u00a0with the name of your database, which in my case is \u201cWP.\u201d<\/p>\n<p>Replace<em>\u00a0\u201cusername_here\u201d<\/em>\u00a0with\u00a0<em>\u201croot&#8221;\u00a0<\/em>and leave\u00a0<em>&#8220;password_here&#8221;\u00a0<\/em>blank.<\/p>\n<p>Save the file and close it.<\/p>\n<p>Now we can get on with installing WordPress.<\/p>\n<p>Open your browser and go\u00a0to\u00a0<span style=\"font-weight: 600;\">http:\/\/localhost\/wordpress\/<\/span><\/p>\n<p>You should see the welcome screen for the famous five-minute WordPress installation process.<\/p>\n<figure id=\"attachment_129819\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/five-minute-install.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-129819\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/five-minute-install.png\" alt=\"Famous five minute install\" width=\"700\" height=\"900\" \/><\/a><figcaption class=\"wp-caption-text\">Set up WordPress using the famous five-minute install process.<\/figcaption><\/figure>\n<p>Enter your details and click \u201cInstall WordPress.\u201d<\/p>\n<p>Your WordPress installation is now complete!<\/p>\n<h2 id=\"setting-up-wordpress-multisite\">Setting up WordPress Multisite<\/h2>\n<p>Setting up Multisite on localhost provides a quick and easy way to test\/develop themes and plugins away from a live site.<\/p>\n<p>Open your\u00a0<em style=\"font-weight: inherit;\">wp-config.php<\/em>\u00a0file again and add\/edit the following lines to activate Multisite\u2019s installation mode:<\/p>\n<figure id=\"attachment_129820\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/edit-wpconfig.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-129820\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/edit-wpconfig.png\" alt=\"Activate Multisite\" width=\"394\" height=\"107\" \/><\/a><figcaption class=\"wp-caption-text\">Activate Multisite installation mode.<\/figcaption><\/figure>\n<p>Click on the\u00a0WampServer icon in your system tray and ensure your Apache and MySQL servers are running.<\/p>\n<p>Login to your localhost site in your browser and under \u201cTools\u201d you will now have a new option, \u201cNetwork Setup.\u201d<\/p>\n<figure id=\"attachment_129822\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/multisite-network-setup.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-ratio-large wp-image-129822\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/multisite-network-setup-700x462.png\" alt=\"Network setup\" width=\"700\" height=\"462\" \/><\/a><figcaption class=\"wp-caption-text\">Enabling Multisite will add a new &#8220;Network Setup&#8221; sub-menu item to WordPress.<\/figcaption><\/figure>\n<p>Enter a name for your network and your email address, then click \u201cInstall.\u201d<\/p>\n<p>WordPress will prompt you to edit your\u00a0<em style=\"font-weight: inherit;\">wp-config.php<\/em>\u00a0and\u00a0<em style=\"font-weight: inherit;\">.htaccess<\/em>\u00a0files.<\/p>\n<p>Following the onscreen instructions, open\u00a0<em style=\"font-weight: inherit;\">wp-config.php<\/em>\u00a0and add the following lines underneath your previous edit:<\/p>\n<figure id=\"attachment_129823\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/multisite.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-129823\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/multisite.png\" alt=\"Multsite wp-config\" width=\"400\" height=\"198\" \/><\/a><figcaption class=\"wp-caption-text\">Edit your wp-config file to get Multisite up and running.<\/figcaption><\/figure>\n<p>Next, open\u00a0<em style=\"font-weight: inherit;\">.htaccess.<\/em> If you can\u2019t find it, make sure hidden files are displayed on your computer.<\/p>\n<p>Your\u00a0<em style=\"font-weight: inherit;\">.htaccess<\/em>\u00a0file should look like this:<\/p>\n<p><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/htaccess-edit.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-130006\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/htaccess-edit.jpg\" alt=\"Edit .htaccess\" width=\"512\" height=\"269\" \/><\/a><\/p>\n<p>Edit your <em>.htaccess<\/em> file to complete your Multisite installation.<\/p>\n<p>Multisite should now be enabled and working on your WordPress site!<\/p>\n<figure id=\"attachment_129827\" class=\"wp-caption aligncenter\" data-caption=\"true\"><a rel=\"lightbox[130039]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/multisite-network.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-129827\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2014\/06\/multisite-network.png\" alt=\"Multisite network\" width=\"650\" height=\"361\" \/><\/a><figcaption class=\"wp-caption-text\">Your Multisite network should now be up and running!<\/figcaption><\/figure>\n<h2>Summing Up<\/h2>\n<p>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.<\/p>\n<p>Running WordPress locally will save you a lot of time since you won&#8217;t have to install and uninstall a fresh copy of WordPress each time you test themes and plugins with your web host.<\/p>\n<p>While WampServer is free and open source software, it&#8217;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 set up and I would recommend that as a more reliable alternative.<\/p>\n<p>Overall, setting up a server environment is relatively painless and something I would recommend to any WordPress developer or hacker.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up a local server environment for WordPress isn&#8217;t difficult. In this tutorial I&#8217;ll walk you through how to set up WampServer for Windows , including installation, creating a MySQL database, and installing WordPress. I&#8217;ve included optional steps for setting up Multisite.<\/p>\n","protected":false},"author":164650,"featured_media":151463,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[263],"tags":[],"tutorials_categories":[],"class_list":["post-130039","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/130039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/164650"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=130039"}],"version-history":[{"count":13,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/130039\/revisions"}],"predecessor-version":[{"id":204399,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/130039\/revisions\/204399"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/151463"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=130039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=130039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=130039"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=130039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}