As the most popular web platsize, WordPress is already powering up over one-third of the entire websites.

Hundreds of people are entering the community every day. If you too are one of them, we are welcoming you with this easy and beginner-friendly tutorial- “How khổng lồ Install WordPress on Localhost” in five sầu easy steps.

Learning WordPress is just fun. Nowadays, anyone can build a trang web for his/her blogging-business or any other purposes within minutes. Yes, CMS (Content Management System) made it such easy for all of us. And WordPress is leading the CMS industry with a surprising market tóm tắt of more than 60%!

In this post, we have sầu shown how lớn install WordPress on localhost in 5 easy steps.

Download XAMPPInstall và Run the XAMPP on Your PCDownload WordPress Lathử nghiệm VersionCreate a DatabaseInstall WordPress on Localhost

Let"s start with this basic question.

Bạn đang xem: Localhost/wordpress/phpmyadmin/

Why Install WordPress on Localhost?

A site in a localhost environment is basically for personal purposes, not for users or audience. The only person who can see the site is you! So, why does anyone need khổng lồ create a site in localhost?

The answer is already given in the above paragraph. Before going live with our site or lớn make a visual presence, we should learn the basics và demo the output of our developed solution. A localhost site lets us check và experience the updates, changes, và settings etc. to lớn be sure about the final outputs.

Basically, developers use these sites to lớn check their works for being sure about the quality và issues on it. But as a user, you too should create & use one or more localhost sites before making any update or adding a new feature.

So, a localhost site actually supports you lớn prepare for your next final move. Technology is going ahead rapidly so is the software industry. There is no chance lớn ignore the updating-upgrading process. Here comes the localhost site khổng lồ the rescue.

How lớn Install WordPress on Localhost (5 Easy Steps)

WordPress made it easy lớn install the solution with ease both in a c-panel or localhost. Most of the famous hosting provider companies offer one-clichồng installation for WordPress. But, you need khổng lồ depkết thúc on a localhost webhệ thống solution to create a database và save your files when you are creating a local site.

And there is a number of popular solution out there to lớn phối up your WordPress on Localhost. To make your job easy, we are mentioning four of the most popular localhost service providers.

In this post, we will show you how to install WordPress on localhost using XAMPP. This localhost hệ thống is famous for its overall tư vấn và quiông xã response. You can install WordPress using WAMP., LAMP or MAMP, following the same way.

These are the software that creates localhost on your PC by utilizing website VPS software Apache, PHP and MySQL. You may know-

PHP is a programming language và MySQL is a database management software. Both of them are required khổng lồ run a WordPress site.

Installing each of these software separately is difficult and time-consuming for beginners. That’s why you need khổng lồ depover on the solution like XAMPP/WAMP/LAMP/MAMP..

XAMPPhường. vs WAMPhường vs MAMPhường. vs LAMP: Which One is Perfect for Your Device

Among mỏi these solutions, XMAPP and WAMP. are open-source & provide a free solution.

XAMPP. is better than WAMP.. because it"s compatible with all the available operating systems lượt thích Windows, OS-X, và Linux. On the other h&, WAMP is limited only for the Windows operating system.


LAMP và MAMP are also open-source-based không lấy phí localhost solution and provide good support. But the problem is LAMP.. stands basically for Linux operating system and MAMPhường limited only for Mac operating system.

So, which one is better compared with the others? You could find XAMPP as the best suite for any of the operating systems with its lots of features.

Now, let"s start with the first step.

Step 1- Download XAMPPhường


There are different versions for different operating systems. Choose the perfect one for your device.

After clicking on the tải về button, wait for a few moments. It"s around 150 MB tệp tin, so you should give some time for it to get downloaded.

Step 2- Install & Run the XAMPP on Your PC

This is the second step. After downloading the software, you need khổng lồ unzip it. When the file is ready, just select the Install button or clichồng on it twice. Soon you will discover that the installation process has begun.

In the next step, you will see some checkboxes these are already marked. You only need MySquốc lộ & phpMyAdmin, so unmark all the others.

After a few moments, you would see a welcome notice. That means your installation process is working perfectly.

Xem thêm:


If you have sầu any antivirus software installed in your PC, you may see a security alert like this. Don"t worry, check any of the given networks & go ahead by clicking on the Allow access button.
You are almost at the end of the installation process. Just mark this question box and clichồng on Finish button. The XAMPP. control panel will automatically run on your device.

Congratulations! You have completed the XAMPPhường. installation process!

Step 3- Download WordPress Lakiểm tra Version

Now is the time to lớn create a database và start installing WordPress on localhost. To vì that, you need to tải về the lachạy thử version of WordPress.

Now hit on Download WordPress button.

The tải về process might take a few moments lớn begin. You will get a zip file. Unzip the tệp tin & copy that for your next uses.

Step 4- Create a Database

To create a database, first you need lớn prepare a folder on your PC in which you want to lớn save sầu all the data of your local site.

Go khổng lồ your local disk, where you saved the downloaded XAMPPhường tệp tin.Select the htdocs thư mục và paste the WordPress lachạy thử version you have copied earlier.

Now, rename the WordPress folder. You can avoid this option, if you want to lớn build your site with the name ‘WordPress" itself.

We named the folder here ‘mytest". Check the below screenshot. You should remember the name you have selected for your database.

Now, open a new tab on your browser and go lớn localhost/phpmyadminSelect DatabaseWrite the same name you have written on your local disk. And finally, click on the Create button. Your database will be created within a few seconds.

You have sầu successfully created your localhost database. Now, is the turn khổng lồ install WordPress on the localhost.

Note: Before going to lớn the final step, you need khổng lồ start both Apache Web Server và MySQL Database from the Xampp control panel installed on your PC or Mac. Without starting both of them, you can"t get access khổng lồ PHPMyAdmin.

Just go lớn your tiện ích thư mục. Select the Xampp control panel và cliông chồng on MySquốc lộ và Apađậy buttons. Have sầu a look at below screenshot.

Step 5- Install WordPress on Localhost

mở cửa a new tab on your browser và write localhost/your given name (‘mytest‘ in our case) và hit on the Enter button. You will see a WordPress setup wizard lượt thích below.

Select your language và cliông chồng on continue
You would see a welcome notice on behalf of WordPress. On the next step, WordPress will require A database NameA user nameA passwordAnd a database hostJust click on the Let"s go button
These are the fields you can see in the below screenshot. Provide your database name, you can write ‘root" as user name, keep the password option blank- it"s better và you would find other fields filled up from earlier.Cliông xã on Submit button
This is your final step of installation.Write your user nameGive sầu a strong passwordWrite your personal e-mail addressCarefully check the search engine visibility button. Otherwise, Google would start indexing your local site too! And, finally click on Install WordPress button!

Cheông xã out the Site You Have Built

This is the time khổng lồ kiểm tra out your local site. How would it look like or how would it work? Give a kiểm tra.

This is your backkết thúc dashboard or admin panel, from where you would control everything.
You can kiểm tra this by adding a new blog post or installing và activating a plugin/theme etc. We have published a blog post, it looks just like a live sầu site- isn"t it?

So, this was the total process of building a personal testing site on a localhost environment. The process requires 5-10 minutes based on your capability.

Wrapping up on How to Install WordPress on Localhost

As CMS made it easy khổng lồ build a website for people of any background, you can consider it as fun. Yes, building a trang web with WordPress is so easy these days. You already know- how lớn install WordPress on the localhost, so it"s your turn to lớn build a site for learning WordPress or checking/testing any plugin/theme/update, etc.

WordPress started its journey just as a blogging platform, but over time it became the most powerful website platkhung for all sorts of websites. You can easily build an online siêu thị or even a multi-vendor marketplace completely không tính tiền of cost!

So, give it a try & let us know in the comment section below if there is any confusion. We are always here lớn help!