How to install WordPress on Windows Using WAMP
Want to test plugins, updates, and other website changes before pushing them live? Well, this is possible if you install WordPress locally using WAMP.
The process of installing WordPress on Windows is also known as setting up a local server environment or localhost. Often theme designers and plugin developers install WordPress on a local server environment to speed up their development process. To test any major changes to your WordPress site it’s preferable to do it on your system before getting live. This way you can identify and fix any errors before they affect your audience.
WAMP, also called WampServer, is a compilation of Apache web server, PHP and MySQL bundled for Windows computers. You need WAMP to setup your own local server environment and install WordPress on Windows. It is free and easy to use. So let’s take a look at how to install WordPress on localhost using WAMP.
Installing WampServer locally
The first thing you need to do is go to the WampServer website and download the latest WampServer. You will be presented with various options on their download page. Simply choose the one that applies to your Windows (64-bit or 32-bit). When in doubt, select the 32-bit version because it will also work on 64-bit versions of Windows.
Once you have downloaded WampServer, run the installation program and carefully follow on-screen instructions.
At one point during the installation, WampServer will ask for the location of the default web browser.
By default, it will use Internet Explorer, but you can change that to Google Chrome or Firefox by locating the browser in Program Files.
Once you are done with the installation, launch WampServer.
Setting Up a Database for WordPress
Next, you’ll need to create a blank MySQL database WordPress can use.
WampServer comes with phpMyAdmin, a web-based application to manage MySQL databases. Click on the Wampserver icon in Windows taskbar and then click on PHPMyAdmin.
The phpMyAdmin login screen will open in a new browser window. By default, the Username will be root, and you can leave the password field blank.
Once logged in, click on Databases in phpmMyAdmin to create a new database for WordPress. You will be asked to choose a name for your database (say test_db). After that click on the Create button.
Installing WordPress on Windows with WAMP
The next step is to install WordPress. You will need to download a copy of WordPress from WordPress.org. Go ahead and extract the zip file and copy the WordPress folder.
After that, you need to navigate to the folder where you installed WAMP.
In our tutorial, we installed it in C:\wamp64, so we’ll refer to that folder going forward. But keep in mind, it may be different for you depending on where you installed the program.
Paste the WordPress folder into the C:\wamp64\www folder.
You can rename the WordPress folder to anything you want, such as onlineshouter etc. This will be the URL of your local WordPress site, so be sure to choose something you’ll remember easily. Now open your web browser and go to http://localhost/onlineshouter/
The WordPress database setup will start automatically. First, it will ask you to select your language. After that, it will show you some information about setting up your database. Click the Let’s Go button when you’re ready.
On the next screen, you’ll need to provide your database information. The database name will be the one that you entered in the last step. In our case, we called it test_db.
Your default database username will be root and you can leave the password blank.
Next, click on the submit button and WordPress will create a configuration file for you.
After this you will see a screen informing you that WordPress has successfully connected to your database, and you can proceed with the installation.
Go ahead and click the Run the install button.
On the next screen, you can fill out the installation form. You need to provide a title for your website, choose an admin username / password, and provide admin email address.
Once you’re ready, press the Install WordPress button.
WordPress will quickly run the installation and create database tables. Once done, you will see a success message after the installation is complete.
You can then proceed to your WordPress dashboard by clicking on the Log in button.
Congratulations, you have successfully installed WordPress on a windows computer using WAMP.
Latest posts by sarah ali (see all)
- How to Get Started with A/B Testing for WordPress - June 23, 2017
- Top 5 CDN Providers for WordPress: 2017 - June 22, 2017
- How to Create an Admin User in WordPress Database via MySQL. - June 20, 2017