How to install WordPress on WAMP

In this tutorial, I will teach you how to install WordPress on WAMP. Please note that before proceeding, WAMP needs to be installed and in working condition.

Download WordPress

First, start WAMP and navigate to it’s “www” folder. Create a new folder to contain the WordPress installation.

Then, download WordPress and unzip it.

Once extracted, navigate inside the WordPress folder, select all files and move/drag them to the folder you created earlier.

Move WordPress files

Set up a virtual host

If you haven’t done so already, you will need to set up a virtual host. To do so, click on the WAMP icon > “Your VirtualHosts” > “VirtualHost Management”.

VirtualHost management

A browser page will open with 3 input fields.

In the first field, type in the name of your virtual host. This will be the URL of the website. In the second field, enter the path of the folder you have created.

VirtualHost input example

Finally, click “Start the creation of the VirtualHost (May take a while…)”. Once complete, you will receive a confirmation message telling you to restart the DNS. Click on the WAMP icon and “Restart all services”.

Restart all services on WAMP

Create a database

Once WAMP has restarted, open phpMyAdmin by navigating to http://localhost/phpmyadmin and login with your username and password. The default username is root and the default password is blank.

Click “New” from the left-hand menu.

New database in phpMyAdmin

Name your database, select utf8mb4_unicode_ci as the collation and click “Create database”.

Create new database to install WordPress on WAMP.

You can exit phpMyAdmin once created.

Install WordPress

Now we can proceed with the WordPress installation. Navigate to the following URL:

http://yourfoldername/wp-admin

Click the “Let’s go!” button located at the bottom left corner of the container.

Let's go button for WordPress installation

In the first field, enter the name of the database you had created earlier. Then, enter your username and password for phpMyAdmin. Again, the default username and password are root and blank.

For database host, enter the VirtualHost name created earlier (the URL).

The table prefix can be left as-is. For security purposes, change the table prefix when installing WordPress on a live host.

WordPress input fields to install on WAMP.

Once complete, click on the “Submit” button located at the bottom left corner.

It’s not over just yet! Upon validation of input entries, you will be taken to another page. Click “Run the installation”.

Run the installation in WordPress

You will then be greeted and asked to fill out a few more details such as your website’s title, your desired username and password and your email address. Fill those out and click “Install WordPress” located at the bottom left corner.

Once complete, you will receive be taken to the success page from which you will be able to navigate to the login area and your website will be available for you to access at:

http://virtualhostname

Conclusion

In summary, to install WordPress on WAMP, create a folder in the “www” directory and move the downloaded WordPress files to it. Then create a database and a virtual host and install WordPress at http://virtualhostname

Please let me know if you encounter any difficulties.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top