• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Swift Guides

Howtos, Tutorials & Guides

  • Home
  • Servers
  • Applications
  • Opinions
  • Search
You are here: Home / Applications / How to Install WordPress on Windows Locally?

How to Install WordPress on Windows Locally?

June 24, 2024 by Sourabh Verma

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 using 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: Applications Tagged In: Server, wordpress

Like my work? Don't Forget to Share

Share on Facebook Share on Twitter Share on LinkedIn Share on Reddit Share on WhatsApp Share via Email

Hi, welcome to SwiftGuides! With over 12 years of experience in Linux, SysAdmin, databases, cloud computing, and other IT-related areas, I make sure publish easy-to-follow, 100% working tutorials. I hope you like my work. Thanks!

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar

Stay With Us

Follow on Facebook Follow on Twitter Follow on LinkedIn Follow on Reddit Subscribe on YouTube Follow on Instagram

SwiftGuides: Howtos, Tutorials & Guides © 2025 ยท All Rights Reserved

  • Contact Us
  • Privacy Policy
  • Disclaimer