How to Create a WordPress Site Using XAMPP

How to Create a WordPress Site Using XAMPP

Are you thinking about installing WordPress on your local server XAMPP?

There are several reasons for building a website using a local server. To test WordPress themes and plugins or might be you are a beginner who wants to learn how to create a WordPress site using the local server XAMPP. In this article, we will learn the complete process of how to create a WordPress site using local server XAMPP.

Important:- Local server website only visible on your PC not everywhere on the internet, to visible it everywhere on the internet you need to migrate it on a live server. To successfully migrate local server websites on a live server require a live domain and hosting. In this article, we will learn how to install WordPress on the local server XAMPP.

Installing XAMPP In Your Computer

XAMPP is available for Windows, Linux, and for OS X. Download XAMPP on your computer and completes the installation process.

Download XAMPP

Follow the below steps to successfully install local server XAMPP on your computer.

XAMPP Setup Wizard

Once the installation process began there is a warning message Ignore it.

XAMPP Control Panel

Once the installation is done, launch the XAMPP control panel and start apache and MySQL.

XAMPP Control Panel

Installing WordPress In Local Server XAMPP.

Now, download the WordPress latest version from here, and extract the WordPress folder separately.

download WordPress to create site using XAMPP

After extracting the WordPress folder separately move it to the ht docs folder and rename it to your site name for example [testsite1].

Rename WordPress folder to create site using XAMPP

In this step create a database first to access the WordPress dashboard, to create it open your favorite browser and type [localhost/PHPMyAdmin] in the browser window.

database for how to create WordPress site using XAMPP

Create a new database, for example, testsite1, and choose collation in the second column.

Next, open a new tab in the browser and enter the URL “localhost/testsite1/wp-admin” you will get a WordPress setup wizard.

WordPress pre-setup to create site using XAMPP

Next, you need to create a WordPress database connection click on let’s go and follow the below steps.

WordPress database connection for how to create WordPress site using XAMPP


Step1:- Enter the database name which you created earlier [testsite1] Note:- database name must be the same everywhere.

Step2:-Default Username must be [root] for every new installation.

Step2:- Password must be blank.

Step3:-Database host & Table Prefix leave it as it is.

Next, submit it and fill in the website details like site title, (site title can be your website tagline, for example, my site title is Actionable digital marketing tips & tricks) username, and password.

Note:- The above username and password will be used to log in to the WordPress dashboard.

Enter your website info to create website using XAMPP

Once the installation is done, open a new tab in the browser and enter the URL “localhost/testsite1/wp-admin” log into the WordPress dashboard enter the username and password which is created earlier during the installation of WordPress.

WordPress login dashboard

Once you entered into the WordPress dashboard it’s time to build a website. To create any type of website using WordPress require themes and plugins.

Also read, How to migrate website from Local server to live server using All -In-one migration WordPress plugin

Why Themes & Plugins Plays the Most Important Role to Create a site using WordPress.

Themes & plugins are responsible to create any website using WordPress, where the themes are responsible to design your website & plugins are for extra functionality. There are thousands of themes & plugins available in the market some are below.

Astra – The best free theme in the market which creates a fully pleasured dynamic WordPress site. It supports the Elementor page builder.

It has a separate plugin called (Astra starter site) where you can import pre-made demo websites, it enables you to launch the site instantly.

Divi – Divi from the elegant theme is the world’s most popular theme in the market. It has its own Page builder and 700+ Pre-made layouts available to import.

Divi allows users to build a site from scratch. Those who want to use Divi premade layouts need a Divi license key. Divi yearly subscription goes to $89 and $249 for the lifetime can be used for multiple sites.

Note:- If you are going to use the Divi theme you need to install the classic editor plugin otherwise Divi will not work on the latest WordPress.

Top 5 Essential Plugins Must Be Installed In Every WordPress Site.

Akismet Anti-Spam:- It helps to prevent your site from publishing malicious content and protect the site from hackers.

WP Fastest Cache:- It helps to decrease website load time as well as helps to decrease page cache size.

Smush:- A very popular plugin helps to compress images that result in increasing website speed.

Autoptimize:- Autoptimize speeds up your website by optimizing JS, CSS, images

Classic Editor:- Classic Editor is an official plugin maintained by the WordPress team that restores the previous (“classic”) WordPress Editor.

I hope, You like this post please subscribe to our newsletter for more tips and tricks related to WordPress, Digital Marketing, SEO and Social Media Marketing, etc.



11 thoughts on “How to Create a WordPress Site Using XAMPP”

Leave a Comment

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