How to Install WordPress on Windows Locally?

Installing WordPress locally is the best option for testing various themes, plugins, and other setup. Performing tests on your live site may cause functionality issues, higher loading time, and downtime in case something goes wrong. In this guide, let’s see how to install WordPress on Windows locally.

How-to-Install-WordPress-on-Windows-Locally
How-to-Install-WordPress-on-Windows-Locally

With a local WordPress setup, you can do anything you want without the risk of losing visitors because of issues caused by the experiments.

Prerequisites

  • A Windows PC with an internet connection

Install WordPress on Windows Locally with WAMP

We will use the WAMP package to install a local web server server environment on which we will set up our WordPress. With WAMP, you get Apache2, PHP, and MySQL installed in one go.

Download and Install WAMP

Download the WAMP server as per your system type and install it by executing the downloaded .exe file.

Download-and-install-wamp-01
Download-and-install-wamp-01

Click on the “I Accept” radio button then click on “Next

Download-and-install-wamp-02
Download-and-install-wamp-02

On the next screen, click on “Next

Download-and-install-wamp-03
Download-and-install-wamp-03

Then click on “Install

Download-and-install-wamp-04
Download-and-install-wamp-04

If needed, click “Yes” to change the default browser installed on your system

Download-and-install-wamp-05
Download-and-install-wamp-05

Setting up WAMP

As the installation completes, launch WAMP from the start menu.

Click on “PhpMyAdmin“,

setting-up-wamp-01
setting-up-wamp-01

Then on the PhpMyAdmin screen, enter “root” under “username” field, leave the “password” field blank, and click on “Go

setting-up-wamp-02
setting-up-wamp-02

Click on “Databases“, and enter your database name (keep it simple, for example wordpress)

setting-up-wamp-03
setting-up-wamp-03

Select “collation” in the field beside and click on “Create

Installing WordPress

Now download the latest version of WordPress from WordPress.org

As it’s downloaded, extract it to “c:\wamp\www\” and change the “WordPress” folder name to “testsite

Now open any browser and visit “http://localhost/testsite

WordPress will ask for some details, enter as shown below

setting-up-wamp-04
setting-up-wamp-04
Database name - wordpress
Username - root
Password - 
Database Host - localhost
table prefix - wp_

Click on “Submit

On the next screen, enter the details as per your wish and proceed further

setting-up-wamp-05
setting-up-wamp-05

Finally, visit “http://localhost/testsite/wp-admin” and login.

Category:

Comments

Leave a Reply

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