How To Install WordPress Locally Using XAMPP
How To Increase The Speed Of WordPress
Show all

WordPress Installation Guide


Introduction To WordPress Installation

There are a few methods to set up WordPress, and you also have to do it in the sense that works for you. Some hosts have "one-click" installs via programs that install WordPress on your behalf without knowing what is under the hood. You can even install it with Shell access or an FTP client. We are going to go the manual direction in this post for a few reasons, with FTP:

  • There are too many hosts with distinct versions of setup procedures that are automated.
  • It is advantageous to know what is happening under the hood. Do not stress though, one of the best things about WordPress is how simple it is to handle.

Tools Required For A Manual Installation

FTP or Shell access - FTP (File Transfer Protocol) is the easiest method to go here really. It lets you transfer data as you may have thought. Through FTP, you can upload, and download files to and from your server of your web host. There are plenty of options for FTP clients or the interface that connects the server and you. Up here at Labinator, we recommend the free and open source FileZilla FTP client. It is also available for all operating systems.

Text Editor - To work with program code, a good text editor is needed. Please note that a normal word processor is not a text editor because it adds some formatting that might break your code. For viewing and editing source codes, we recommend the Atom editor. It is totally free, open source, and works on all operating systems.


Required Information Before The WP Installation Process

FTP Login Information - Pleaes collect your FTP login information from your hosting provider. The address for the FTP site will probably be like your internet address, but instead of (https://example.com), it will be (ftps://example.com). Your hosting provider can also help you in finding or creating your first FTP account.

Database Creation - You need also to create a database for your WordPress installation. Most hosting providers can also help you with this task. You can also create and manage your databases easily from your cPanel or your web host control panel.


The WordPress Installation Process

Step 1: Download WordPress

You can find the latest stable release at: https://wordpress.org/download/

WordPress is an open source software that's continuously being refined by members of the WordPress community. The improvements happen in the background so that end users just get stable versions that are secure. The most recent, most secure variant is constantly in the WordPress.org download page. You should be running the latest launch to secure your website and never be afraid of upgrades! Download the latest zip file on the download page.


Step 2: Create Database & Username

The easiest method to create a database and username is through the cPanel, or the control panel of your web hosting provider. Login to your account and try to find the right option under "databases". Sometimes web hosting providers also call it MySQL depending on the type of database that they are using or allowing you to use.

You will also have to input a database host which is usually "localhost". Check with your web hosting provider if you are not sure about this step.


Step 3: Edit wp-config.php

In the WordPress folder that you have downloaded in the first step, there is a file called wp-config-sample.php. We need to edit that file and change its name to wp-config.php. So load wp-sample-config.php in your text editor and make some changes.

/** The name of the database for WordPress */

define('DB_NAME', 'database_name_here');

/** MySQL database username */

define('DB_USER', 'username_here');

/** MySQL database password */

define('DB_PASSWORD', 'password_here');

/** MySQL hostname */

define('DB_HOST', 'localhost');

  • Change database_name_here with the name you defined previously, keeping the single quotes.
  • Replace username you defined in the last measure surrounded with single quotes.
  • Change password_here with your database password you defined in the last measure keeping the single quotes.

Note: Localhost can remain the same unless your host uses an alternative name.

Now set up your secret keys. Simply visit this URL to generate your keys then copy them over to your config file. When you conclude with the edits, make sure to rename the file as wp-config.php.


Step 4: Upload The Files Through FTP

Start your FTP client and log in. After logging in, locate the directory that you wish to install WordPress at then upload your files.


Running The Installation Script

Now it's time to complete your WordPress installation.

Visit your path where you have uploaded your WordPress files. By doing so, you should be redirected to the installation screen and greeted with the WordPress setup page. Insert your site name, admin username, a strong password, as well as your e-mail address. Follow the on-screen instructions and you should be done.

A more detailed guide can be found at the official WordPress.org website:


(Last Updated On: 30/07/2019)