How to install WordPress in Localhost ?

how to install wordpress in localhost ? and more articles visit always

This is a fantastic concept if you need a development platform for research or other purposes. XAMPP allows you to run a website from your own machine. And once you’ve had it set up, you can create a new WordPress installation with a few taps.

This is article about How to setup wordpress in localhost . This is a easy way to Make a awesome Website.

Before installing WordPress in your computer, you must have to install XAMPP in your computer. Let’s Get Start.

Installing WordPress on your computer helps you try out WordPress, test themes and plugins, and learn WordPress development.

In this article, we will show you how to easily create a local WordPress site Using XAMPP.

Why create website in localhost ?

Local WordPress sites are a popular occurrence among developers and website owners. It enables you to try WordPress without having to create a live website on the internet.

Local websites can only be accessed on your computer. You will experiment with various WordPress themes and plugins, test their capabilities, and learn the fundamentals of WordPress.

If you already have a WordPress website, you should make a local copy of it on your machine to test out new plugin upgrades before deploying them to your live website.

Note – You will only be able to see the local website on your phone. If you want to create a live website, you’ll need a domain name as well as WordPress hosting.

What is wordpress ?

WordPress (WP, is a free and open-source content management system (CMS) written in PHP and used in conjunction with a MySQL or MariaDB database.

A plugin architecture and a design scheme, known as Themes in WordPress, are among the features. WordPress began as a blog-publishing system but has since expanded to support various forms of web content such as more conventional mailing lists and forums, media galleries, subscription pages, learning management systems (LMS), and online retailers.

As of March 2021, WordPress was used by more than 40.5 percent of the top 10 million websites, making it one of the most common content management system systems in use.  

WordPress has since been utilized in a variety of other platform domains, including pervasive display schemes (PDS).

WordPress must be installed on a web server, either as part of an Internet hosting site like or on a device running the program package to act as a network host in its own right. For single-user research and learning, a local machine may be used.

What is XAMPP –

XAMPP is a software kit that provides everything you need to install a local server environment on your computer.

To build a local WordPress account, you must first install web server applications (Apache), PHP, and MySQL on your device.

MySQL is a database management system, and PHP is a programming language. Both are needed for WordPress to function.

For newcomers, installing each of them independently is very challenging. This is where XAMPP can help.

XAMPP makes it easy to build WordPress websites locally. It is available for computers running Windows, Mac, and Linux.

Let’s begin by downloading XAMPP and configuring it to run your local WordPress account.

Topics we will cover in this article

  1. How to Download and install XAMPP ?
  2. How to Download and install WordPress in localhost ?

1. How to Download and install XAMPP?

The first step in installing WordPress locally is to obtain and update the XAMPP software. The Windows installer file is available for download from Apache Friends. It’s a large file, around 150 MB, so depending on your link, it can take a minute or so:

  • To Download XAMPP Click here
  • After Download , open and install it with normal process. It is Straight forward and very easy .
Download xampp
install xampp
installation of xampp
  • After unpacking files click on finish .
installation competed
  • After installation finish installation and you can see XAMPP control panel . start Apache and MYSQL. Once the download finishes, run the file you downloaded to launch the XAMPP installer. If you’re running antivirus software, you might get a warning like this:
xampp control panel

2.Downlaod and install wordpress in loacalhost.

The remainder of the method should be familiar if you’ve ever manually installed WordPress. To begin, go to and download the most recent edition of WordPress.

  • To Download WordPress Click here.
  • After Download file extract it.
extract wordpress
  • You can see a wordpress folder after extract wordpress zip file.
extracting wordpress
  • Copy the wordpress folder.
open wordpress
  • Go into C drive and select the XAMPP folder as you can see.
open xampp folder
  • Click in XAMPP folder and open htdocs folder .
open htdocs
  • Now paste wordpress folder in htdocs folder. This folder name will become the sub-name used to access your site. 
paste wordpress folder
  • We do two steps for install wordpress in localhost .
  1. GO to Chrome and type localhost / phpmyadmin
  • You can see sam interface on your pc. Click on Databases .
  • Give name to your database and Create database .
create datebase
  • Now you can see our database in left corner .
database created

2. Go Address bar and type localhost/wordpress .

  • Now choose your language and click on continue as you can see.
wordpress setup
  • Click on Let’s go! The only step where this process will differ from a normal install is the database details. When you get to the database details, enter them like this:
wordpress introduction
  • give database Name ( That was put in phpmyadmin ) , Username = root , password=blank , then click on Submit
wordpress database username and passwords
  • Click on Run the installation
run installation
  • type your site title ,username , password and click on install wordpress
setup username and passwords
  • Congrats! wordpress is install successfully as you can see .
wordpress setup competed
  • Now log in .
log in
  • After log in you can see we are come Dashboard in site.
wordpress dashboard
  • Now install themes and you can make a awesome website. You can use your favorite theme and make a website for your purpose. You can use install plugins for website.

Thank you for visiting and reading this blog post. We hope this post was helpful for you. If this post is helpful , please share this post. Give your feedback and possible suggestions in comments to help us. Keep visiting our website to get helpful posts and updates.

2 thoughts on “How to install WordPress in Localhost ?”

  1. WordPress is one of the most versatile content management systems going today and this is just another example as to why. Good information shared here!


Leave a Comment

  +  14  =  19

%d bloggers like this: