How to install WordPress locally?

How to install WordPress locally?

Posted 29th August, 2019 by Nadejda

WordPress gives you everything you need to start your own business and create an original and professional looking website.

It’s easy and efficient which is why millions of people around the world depend on it. If you want to avoid domain and web hosting costs while you are building the site, the best way to get started is by installing WordPress on your local computer. In this article we will provide a step-by-step guide on how this can be done.

How to Install WordPress locally?

The installation process can be quite simple. Keep in mind that you cannot install WordPress directly onto your computer before following these steps:

- Download and install XAMPP server software

- Create a database

- Download WordPress from wordpress.org/latest.zip

- Install WordPress


XAMPP server


In order to start

the installation, the first thing you need is a server software where you can create the localhost environment for your website. In our case we will be using XAMPP – a free open source cross platform server. What XAMPP essentially does is deploy a web server and a mysql server on your computer, as if it was a server. WordPress needs a web server and a mysql server to run!

You can download it HERE, there are versions available for all operating systems and PHP versions.

After opening the file, the set up wizard will guide you trough the installation process.

1

Select a folder where you wish to install the XAMPP application:

2

Click Next and wait for the installation to be completed.

3

Click on Manage Servers where you will see 3 services services:

4

Click on My SQL Database. If it’s on status Stopped simply click on activate to initiate it.

Create a database

Your website will now need a database where you can save all of the data.

Go to localhost/phpmyadmin on your browser. Click on New and fill out the name. Finish the process with Create.


Downloading WordPress

Next step is downloading WordPress from http://wordpress.org/latest.zip and unzipping the downloaded file.

Go to the XAMPP directory and open htdocs folder where you need to move the unzipped files.

Type in localhost/wordpress in your browser. You should see the following page:

5

Click on Let’s go.

6



Here you need to enter the newly created database details.
Database Name – This should be the name of the database you just created.

Username – This should be set to root by default, unless you changed it earlier.

Password – This should be left empty by default, unless you changed it before
initiating the MySQL instance.

Database Host – This should be set to localhos

Table Prefix – Can be set to wp

Once all the above are set, click on Submit

The next page will require for you to fill out a title, username, password, and email in order to complete the installation process.
Click on Install WordPress.

The next page will require for you to fill out a title, username, password, and email in order to complete the installation process. Click on Install WordPress.

7


Congratulation! You have successfully installed WordPress on your computer!

8

Categories: Wordpress, PHP, Hosting