How to Develop WordPress locally using XAMPP

Tue, September 9, 2025 - 1 min read

Getting started with local WordPress development is easy with XAMPP. XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl.

Getting Started

Download XAMPP at apachefriends.org: XAMPP Download

On Windows machines, install XAMPP directly into the C:\ folder to avoid User Access Control restrictions. The folder path will be C:\xampp

Download WordPress at wordpress.org WordPress Version Download

Download the Latest WordPress version zip file immediately by clicking here download latest

Insert WordPress Codebase into XAMPP Folder

Extract the WordPress zip file and save it in the C:\xampp\htdocs folder. The name of the folder will be used in the localhost address to access the folder.

For example, if you save the folder as “wordpress,” you will be served the files at the http://localhost/wordpress route once the Apache server is running.

Open the XAMPP Control Panel

If you don’t have a Desktop shortcut, look for the xampp-control.exe file in C:\xampp. Double click it to launch XAMPP.

This launches the XAMPP Control Panel, which look like this:

Xampp control panel

Run WordPress locally

To start the Apache server, click the “Start” button in the Apache row.

Once the server is running, navigate to http://localhost/<local folder name> to view the WordPress code you installed in the C:\xampp\htdocs folder location.