Installing WordPress on Local Server a Step-by-Step Guide

WordPress is a very popular Content Management System (CMS) that makes it easy to make websites. Today, we will set up WordPress on a local server. We have already discussed in another post how to install WordPress on cPanel.

Install WordPress on local server

Given that I am discussing a local server, it is necessary to have the local server installed on your system. In a previous post, I demonstrated the process of setting up a local host or server on your computer.

Now let’s determine the availability of WordPress. In addition, we have created a video instruction for you, which is provided below. Subsequently, we have further elaborated on the topic with supporting images.

Download WordPress Latest Zip

Go to https://wordpress.org/download/ and you will get a blue button called Download WordPress 6.6.1. The WordPress version is often updated, so the 6.6.1 version today may change tomorrow. But always work with the latest version. Click or download button.

The one that comes down is a compressed file; extract it. You will see a folder called WordPress, which contains many files, most of which are PHP files. Now put it in the htdocs (www or public_http) folder of your local server.

Create database on local server

Now you will need a database, which will be needed while installing WordPress on the local server. If your local server is XAMPP, then open a web browser and type http://localhost/phpmyadmin/ in its address bar and press enter. But check if your local server is running. If not, turn it on.

If you go to http://localhost/phpmyadmin/ and open phpmyadmin, you will see a list of your local databases. From the list on the left, click on “New.” As shown in the picture above. Put the name of the database you want to make in the box that says “Database name,” which is right below.” Let’s say the new database is called local_wpdb. Once you’ve written it down, click on Create on the right.

Installing WordPress

Earlier we downloaded WordPress and put it in a folder called WordPress in htdocs. Now to view that folder with a web browser, type http//localhost/wordpress/ in the address bar and press Enter. If everything is fine, the following screen will appear.

This is where you set the language. I’m going to choose English (United States) and then click the Continue button. Then the screen below showed up.

Let’s go! Click on the Name button. Which brings you to the next step 🙂

In this section, we will provide the necessary details about the database. Enter the name of the database you previously created in the Database Name field.

In my case it is LOCAL_WPDB. Following that, there is the username, which, in the case of the XAMPP local host, will be “root.”.

Now the next room is Password, where you have to enter the database password. It will be blank for XAMPP localhost. The database host will be set to “localhost.”.

The database host will be localhost, and in the next cell, you can change the table prefix if you want. Now click on the submit button.

This time, if you click on Run the install, it will appear as below, where you have to enter the title, username and password of your WordPress site.

We’re almost done. Now, in the site title field, type the name of your page. After that, type in the username that you will use to log in to your WordPress site’s control panel.

After this, there is a box for a password. WordPress has a strong password. It’s yours to use, or you can change it and add a different one.

But if it’s weak, you need to make sure that you really do use a weak password.

Type in your email address here. But email addresses aren’t as important on localhost. That being said, it is a very important part of online WordPress.

Click the Install WordPress button if everything looks good. WordPress will be set up after a while, and you’ll be able to log in to the admin section.

Leave a Comment