WordPress Installation on Localhost Using Wamp

WordPress Installation on Localhost Using Wamp

WordPress is an open-source software you’ll use to make a stunning website, blog, or app. Stunning designs, powerful features, and therefore the freedom to create anything you would like.

In this post, I am going to show you how to install WordPress on localhost using wamp server step by step.

Steps for WordPress Installation on Localhost Using Wamp

  • Download and Install WampServer
  • Database creation using phpMyAdmin
  • Download and Install WordPress
  • Setup the WordPress Configuration

WampServer is the most well-known Windows website creation software that permits you to make web applications with Apache2, PHP, and MySQL DB.

Note: Make sure that you have the updated version of Visual C++ Redistributable before you proceed with the WampServer installation.

1. Download and Install WampServer

Visit the WampServer website and download the latest version of the software. WampServer is open-source software and completely free to use.

Wamp Installation

After the installation has finished you’ll need to check out your taskbar for a Green WampServer icon. If it’s green then everything should be good to proceed with the next step. If the icon is orange or red there’s a drag with Apache or MySQL. you’ll need to fix these problems before you proceed to the next step.

2. Database creation using phpMyAdmin

WordPress will need a database to put in on so we’d like to create one. Left-click the green WampServer icon from your taskbar and choose phpMyAdmin or simply open http://localhost/phpmyadmin in your browser. For the username add “root” and the password option need to be blank. Click the “Go” button to log-in.

Localhost phpMyAdmin

This is the screenshot that describes the way to create a database using the phpMyAdmin page.

Database Creation

3. Download and Install WordPress

You need to download WordPress. Visit and navigate to the Download WordPress page, and then click the blue button on the bottom circled in red.

Download WordPress

Navigate to the Downloads folder and extract the wordpress.zip file. Now copy the WordPress folder to the “www” directory. You can also navigate to the folder by left-clicking the WampServer icon from the taskbar and click “www directory”.

WWW Directory

4. Setup the WordPress Configuration

Open the browser and put http://localhost/wordpress/ within the address bar and choose your preferred language to proceed with the WordPress Installation.

The next page is to add information about your database. This information is to create a wp-config.php file. A really important file that you simply can edit anytime you migrate your website to another live hosting server. Click the “Let’s Go” button.

WordPress Configuration

On this page, you’ll see five fields: Database Name, Username, Password, Database Host, and Table Prefix.

For database name, you need to put within the database name you chose within the previous step 2 while creating the database. The user name is “root” and again leave the password field blank. Database Host and Table Prefix leave as the default settings. Click the “Submit” button.

Submit Configuration

Next, you’ll be asked to add your website name, username, password, and email address. Fill up all the fields as required and click on the “Install WordPress” button.

Install WordPress

That’s it! If everything went right you are now ready to access your new WordPress website on your local computer by getting to http://localhost/wordpress/.

If want to install WordPress on Cpanel then visit the post by clicking How to download WordPress and install step by step.

I am a freelance WordPress developer since 2014, I have created this blog for WordPress Beginners.
Back To Top