How to install WordPress on XAMPP? – Beginners Guide

XAMPP is a local host and you need Content Management System(CMS) to make your website live. WordPress is one of the best CMS that works effectively on XAMPP. In this post, we will let you know how to install WordPress on XAMPP.

Steps To Install WordPress on XAMPP

Step 1:

Initially, XAMPP is to be installed on your PC. Now we have to install WordPress on XAMPP.  

Step 2:

Once the WordPress package has been downloaded you need to extract the zip folder and copy the extracted folder to the htdocs folder inside the XAMPP directory folder.

Step 3:

You have to open the XAMPP control panel from the start menu. Now start Apache and MySQL to run WordPress on your system.

XAMPP control panel

Step 4:

Now move to the browser and type in the URL: localhost/dashboard in your browser for beginning the installation process of WordPress.On this page, click the menu phpMyAdmin.

localhost dashboard

Step 5:

Once it enters click on the database button which is present at the top of the page to create a database. In the database column, give the database name and choose utf8_general_ci and then click the create button. Now the database is been created.

XAMPP PHPmyadmin

Name Database by using the below screenshot

create database on XAMPP

Step 6:

Next again go to the browser and type the URL localhost/WordPress.

localhost Website

Step 7:

Now you are redirected to the WordPress setup page. On that page, choose language and then click on the continue button.

wordpress setup page

Step 8:

On the next immediate page click on the let’s go button.

Step 9:

Now enter the database connection details like.

Database name: Put what you create early

Username: root(default)

Password: not necessary

Database host: localhost(default)

Table prefix: wp_ (default)

Click on the submit button once the details are entered.

fill your database name, username and password

Step 10:

Now click run the installation button. Once run the installation button is clicked, fill in the site title, username, and password, and then click the Install WordPress button.

WordPress Title and login details

Step 11:

Now WordPress is successfully installed on your PC. Now we will log in to your site by typing the URL: localhost/wordpress/wp-login.php

wordpress login form

Hope this article on how to install WordPress on XAMPP might be useful to your work. If you have any queries please feel free to comment on us

Leave a Comment