Are you facing problems with editing the dashboard of your WordPress website? Maybe you want to make some changes to your site and see how it works without damaging your original website in the process.

Good, good news! We have a solution for you. If you install WordPress on a local host, you may have your own WordPress playground. This means you can use and use any features, themes and plugins in your heart content without risking your original site.

What is Localhost?

Simply put, localhost is a hostname which means this computer. It mimics the hosting server on your own computer. Hosting providers without paying for any services.

Using Localhost, you can install and run WordPress on your computer.For this you have to pick a server simulating programs like XAMPP, MAMP and WHMP.

Why do you Install WordPress on Localhost?

WordPress is open source software for creating completely free usable websites. It’s like having Genie of Aladdin because it gives you the ability to create any website you want! That’s why, today, WordPress powers 35% of all online websites!

Nowadays, most WordPress developers have their own localhost WordPress website. This is because Localhost gives you the necessary access to check off WordPress websites offline before updating online sites.

Suppose you are trying a new theme or plugin before applying it to your original website. With Localhost, you can test all the new features of WordPress, or try out Total Overhaul before going straight to the changes. Moreover, a WordPress localhost website is a completely personal test drive system for any WordPress developer.

How to install WordPress in localhost ( Easy Step ) ?

WordPress is not software that you can install with a few clicks. To install WordPress on localhost you need a database system and a server system to run. So there are a few steps to setting up an environment before installing WordPress on a local host.

We’ve created a super easy 4-step installation process to install WordPress on your localhost. By following these four-step WordPress installation processes, you can install WordPress on localhost very easily and comfortably.

Install XAMPP to Create the Environment: 

In localhost, your PC alone is your server, database and website in a single place. To reduce this complexity and hassle of installing different platform software you need a cross-platform web server solution pack.

XAMPP and WAMP are the two top cross-platform server solution packs for MYSQL, PHP, Apache. WHMP is specifically for Windows, where XAMPP works on open source and all types of operating systems.

Considering the support of multiple operating systems, we prefer to use XAMPP. In other words, it currently provides the most useful solution. You can download XAMPP from the link below.

Installation of WordPress on localhost in 4 Simple Steps:

To install WordPress on Localhost and create a WordPress Localhost website we need to go through a few very simple steps. One step at a time will reduce complexity and create a clear roadmap throughout the process.

Step 1: Download and Install XAMPP

You can download XAMPP from here.

In this official website you will find different versions of XAMPP for different operating systems. As you are a Windows user, click on Windows for XAMPP as indicated by the blue pointer. This may take a few seconds/minutes depending on your network connection.

After downloading the file run setup file and click next

There will be a list box with language and server options. Select your preferences and click Next. Apache and MySQL are essential components of our choice. However, you can select all for future use.

Select your destination folder where you want to save files, where you want to install the software. We like the default in C drive but we leave it as your choice. Click the Next button to begin the initial installation process.

Your Windows security can come with a warning like this. Choose a network and click the Allow Access button.

If you see a language selection option, select your preferred language and click the Save button. And run the installation process.

You see this page, XAMPP installation is complete! Click the Finish button.

Wait until the XAMPP control panel comes on the screen. If not, look for it in the destination folder where you installed the software.

After waiting, Run the XAMPP control panel and click on the Start buttons for Apache and MySQL as shown in the image below.

Step 2: Download Latest WordPress Version 

You can download from here.

Go to the link. Click the download button and download WordPress to a zipped file.

Unzip the downloaded file and name it if you want to name the database. Here, I’m naming it MySite.

Navigate to C>XAMPP>htdocs.

This is the installation location of XAMPP. Copy and paste the MySite folder into the htdocs folder.

Step 3: Create the localhost Database

Go to your web browser and Type localhost/phpmyadmin, and click enter. 

Name the database as  the same name as what you used in the WordPress folder. We used the name MySite for WordPress so I am naming it MySite. Select the collation from the list and press the Create button to create the database.

Step 4: WordPress Installation and Website Creation  

Go to your web browser and type localhost/mysite on the address bar. 

Start this WordPress installation.

Select the language that you preferred.

In the next window, you’ll find a few fields to fill out.

Database Name: Mysite ( Keep it same as the Server name )

Username: root

Password: Keep this field empty. 

Then Click Submit button.

You’ll find the Run Installation button. Click to begin the installation. 

Input the name of your WordPress localhost website.

Choose your preferred username and password for WordPress.

Finally, click on the Install WordPress button. And it’s done!

You have successfully installed WordPress on Localhost and created a Localhost WordPress website for you.

Enter localhost / mysite to visit your localhost website.

To log in to your localhost website, type localhost / my site / wp-admin in the address bar of your web browser.


There are lots of instructional blogs for WordPress users locally to install WordPress and create a localhost website. However, following most of them is rather complicated or perfectly annoying. Therefore, I have come up with this blog.

Moreover, some users may find it more tedious than others because a number of tasks need to be done in a certain order. This is normal because not all minds are somehow trained. Considering all the basic features I have tried to note the shortest path. I wanted to make this instruction information that is easy to follow.

What do you think about this educational blog? If you think we need more details, just let us know in the comments. We will keep your ideas in mind when upgrading it.

One Response

Comments are closed.