Header Ads Widget



Installing WordPress on Localhost (5 Easy Steps) | Urdujobsads | masif516

 Installing WordPress on Localhost (5 Easy Steps)

WordPress, the most popular web platform, already powers more than one-third of all websites.

Every day, hundreds of people move into the neighborhood. If you are one of them, we would like to welcome you with this simple and beginner-friendly tutorial on "How to Install WordPress on Localhost" in five simple steps.

Installing WordPress on Localhost
Installing WordPress on Localhost


WordPress is a lot of fun to learn. Anyone can now create a website in minutes for his or her blogging business or any other purpose. Yes, CMS (Content Management System) made everything so simple for all of us. And WordPress has a surprising market share of more than 60% in the CMS industry!

In this post, we demonstrated how to install WordPress on localhost in five simple steps.

  • Install XAMPP
  • Set up and run XAMPP on your computer.
  • Download the Latest WordPress version.
  • Make a Database
  • WordPress should be installed on localhost.

We've also included an a-z video tutorial at the end to help you along your way! So, nothing to be concerned about.

Let's begin with the most basic question.

Why Install WordPress on Localhost?

A site in a local host environment is primarily for personal use, rather than for users or an audience. You are the only person who can view the website! So, why should anyone create a site in localhost?

The answer is already provided in the preceding paragraph. We should learn the fundamentals and test the output of our developed solution before going live with our site or creating a visual presence. A local host site allows us to test and experience updates, changes, and settings, among other things, to ensure that the final results are as expected.

Basically, developers use these sites to double-check their work for quality and issues. However, as a user, you should also create and use one or more local host sites before making any changes or adding new features.

As a result, a local host site can assist you in preparing for your next final move. As technology advances, so does the software industry. There is no way to avoid the updating and upgrading process. The local host site comes to the rescue.

Installing WordPress on Localhost (5 Easy Steps)

WordPress made it simple to install the solution in a c-panel or on a local host. The majority of well-known hosting companies provide one-click WordPress installation. When creating a local site, you must rely on a localhost web server solution to create a database and save your files.

And there are several popular solutions for installing WordPress on Localhost. We've listed four of the most popular local host service providers to make your job easier.

  1. WAMP 
  2. MAMP 
  3. LAMP 
  4. XAMPP

This post will demonstrate how to install WordPress on localhost using XAMPP. This local host server is well-known for its overall assistance and quick response. WordPress can be installed using WAMP, LAMP, or MAMP in the same way.

These are the programs that use the web server software Apache, PHP, and MySQL to create localhost on your computer. You may be aware.

MySQL is a database management system and PHP is a programming language. Both are required to run a WordPress website

For beginners, installing each of these pieces of software separately is difficult and time-consuming. That is why you must rely on a solution such as XAMPP/WAMP/LAMP/MAMP.

  • XAMPP vs WAMP vs MAMP vs LAMP: Which One is Perfect for Your Device
  • XAMPP and WAMP are two open-source solutions that provide a free solution.
  • XAMPP is superior to WAMP because it is compatible with all operating systems, including Windows, OS X, and Linux. WAMP, on the other hand, is only available for the Windows operating system.
  • LAMP and MAMP are both open-source-based free localhost solutions with excellent support.

However, LAMP stands primarily for the Linux operating system, whereas MAMP is restricted to the Mac operating system.

There are also more local host platforms, such as AMPPS.

So, which one is superior to the others? With its numerous features, you may find XAMPP to be the best suite for any of the operating systems.

Let's begin with the first step.

Step 1- Download XAMPP

  • Simply go to the official XAMPP website. Choose your operating system and press the download button.
  • There are various versions for various operating systems. Select the best one for your device.
  • Wait a few moments after clicking the download button. It's a 159 MB file, so please allow some time for it to download. 

  • Download Xampp
    Choose As per your version

Step 2- Install & Run the XAMPP on Your PC

This is the next step. You must unzip the software after downloading it. When the file is ready, simply select the Install button or double-click it. You will soon notice that the installation process has begun.

In the following step, you will see some checkboxes that are already checked. You only need MySQL and phpMyAdmin, so uncheck everything else.

  • After a few moments, you'd see a welcome message. That means your installation procedure is flawless.
    Xampp Installation
    Xampp Installation

  • If you have antivirus software installed on your computer, you may see a security alert similar to this. Don't worry, just select one of the available networks and click the Allow access button.

  • Xampp Security
    Xampp Security

  • You'd see a language selection option, check the one you want, and then click the Save button.
  • You're almost finished with the installation. Simply check this box and click the Finish button. The XAMPP control panel will be launched automatically on your device.

  • Xampp Setup

  • Congratulations! You have finished the XAMPP installation!

Step 3- Download WordPress Latest Version

Now is the time to create a database and begin installing WordPress on localhost. You should first download the most recent version of WordPress.

  • Go to the WordPress official website and click the Get WordPress button in the top right corner. You will be transferred to a new page.

  • Download Latest Version of WP
    Download the Latest Version of WP

  • Now click the Download WordPress button.

It may take a few moments for the download to begin. You will receive a zip file. Unzip the file and copy it for future use.

Step 4- Make  a Database

To create a database, first, create a folder on your PC in which you want to save all of your local site's data.

  • Move to the location on your local disc (C drive) where you saved the downloaded XAMPP file. Open it than
  • Select the htdocs folder and paste the latest WordPress version you copied earlier.

  • htdocs folder

Rename the WordPress folder now. If you want to build your site with the name 'WordPress,' you can avoid this option.

We called this folder'mytest.' Look at the image below. You should keep the name you chose for your database in mind.

  • Now, open a new browser tab and navigate to localhost/PHPMyAdmin.
  • Choose a Database 
  • Write the same name as you did on your local disc. Finally, press the Create button. Your database will be created in a matter of seconds.

  • Create Database
    Create Database

Your local host database has been successfully created. It's now time to install WordPress on the local host.

Before proceeding to the final step, you must start both the Apache Web Server and the MySQL Database from the Xampp control panel on your PC or Mac. PHPMyAdmin cannot be accessed unless both are started. Simply navigate to your app folder. Click on the MySQL and Apache buttons in the Xampp control panel. Take a look at the image below.

Installing WordPress on Localhost
Xampp Setup

Step 5- Install WordPress on Localhost

Open a new browser tab and type localhost/your given name ('mytest' in our case) and press the Enter key. A WordPress setup wizard will appear, as shown below. 

Choose your language and push the continue button.

WordPress on Local Host
WordPress on Local Host

WordPress would greet you with a welcome message. WordPress will ask for a database name in the next step.

  1. A database host, 
  2. User Name, 
  3. Password
  4. Simply press the Let's Go button.
  5. These are the fields shown in the screenshot below.
    WordPress on Local Host

  6. Provide your database name, enter 'root' as the user name, and leave the password field blank—better, it's and other fields will be filled in from earlier.
    WordPress on Local Host

  7. Select the Submit button.
  8. This is the final stage in the installation process.
  9. Give your website a name. WordPress ERP is the name of our website. You can also keep your database name as the name of your site.
  10. Enter your user name here.
  11. Create a strong password.
  12. Fill in your personal e-mail address.
  13. Examine the search engine visibility button carefully. Otherwise, Google will start indexing your local site as well!
  14. Finally, press the Install WordPress button!

Check out the Site You Have.

This is the time to visit your local website. What would it look like or how would it function? Make a payment.

Wordpress on Local Host

  • This is your admin panel or backend dashboard, from which you will control everything.
  • This is the front-end dashboard.
  • You can test this by publishing a new blog post or installing and activating a plugin/theme, for example. We've published a

    blog post, and it looks exactly like a live site, doesn't it?

So that was the entire process of creating a personal testing site on localhost. The process takes 5-10 minutes depending on your ability.

Check out the video below for the complete WordPress localhost installation process.

Post a Comment