Step by step guide: How to Install WordPress

Step by step guide: How to Install WordPress


This post was last updated on: Jan 16, 2019 @ 9:08 am

In my post about how to start a blog, I outlined the two methods of installing WordPress. I discussed about the Quick-install method, which I didn’t recommend so much because it’s prone to errors during installation.  In this post I am going to share the whole process involved in manual installation.

Step 1: Downloading the installation file.

Since WordPress is free, you can download the zip file from

Get wordpress now

Step 2: Upload WordPress to Hosting Account
Open your cPanel, then enter your username and password. There are three methods of uploading files to cPanel, but we are going to use the file manager method for now.  There are three available options for uploading WordPress to a hosting account.

Step 3: Create MySQL Database and User
WordPress information is stored in a database. Therefore, it’s a requirement that before installing WordPress, a database must be created.

  1. In the database section, click MySQL databases.
  2. Enter the name of the database and click ‘create’.
  3. Press the back button and go to MySQL users.
  4. Enter the name of the user, the password and click create user.
  5. Press the back button again and go to the section labeled add user to database.
  6. Select the user and the appropriate database and check all the privileges and finish.
  7. Ensure you know the database name, username and password as we will need these later.

Step 4: Configure wp config file
Look for the file named wp config-sample file that contains the database information and communicates to WordPress on which database to pull information from. This step must be completed to ensure the correct database information is associated with the WordPress installation, otherwise you will see a message with ‘Error establishing a database connection’.

The wp config file can be found in File Manager in the folder where WordPress is On the right side of the File Manager screen, locate the wp config file.

  1. Right click on the file, select Rename and change the name of the file to wp config file Click the Rename File button.
  2. Right-click on the wp config file and select Edit. When the file opens, look for the following information:
define('DB_NAME', 'database_name_here');
/** MySQL database username */
define('DB_USER', 'username_here');
/** MySQL database password */
define('DB_PASSWORD', 'password_here');

Replace the information with what we created earlier in step 3.

Now click this button to generate salts.

Generate salts

Copy the info from the new browser window and replace these characters in the wp-config file

define('AUTH_KEY',         'put your unique phrase here');
define('SECURE_AUTH_KEY',  'put your unique phrase here');
define('LOGGED_IN_KEY',    'put your unique phrase here');
define('NONCE_KEY',        'put your unique phrase here');
define('AUTH_SALT',        'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT',   'put your unique phrase here');
define('NONCE_SALT',       'put your unique phrase here');

So that it looks something close to this;

define('AUTH_KEY',         '+[QO&xQr9cy`-6c(-|C|ELA%ien3$LX)V`NE?03 aQ;cmiIejMu]T7t{-jXi(`C<');
define('SECURE_AUTH_KEY',  'D(c?Ce-9G~BZi{g_!&p/(-Hq0i3[T!u([email protected]~JCpD69]bN%p%i^ckrR 6U50');
define('LOGGED_IN_KEY',    ',L+=Eji62 $4K17l{sJC yVM&WwdV&TP/WBZ<_qDxbk-{]E{o4xaz~oD?K}Qhixx');
define('NONCE_KEY',        'uMU{])%wbJVal#_we!KKjh-a/nBbG)Sp&*GHdCm+BQk|#[email protected]&daDCB73n#R D');
define('AUTH_SALT',        '[email protected]~x#l&;h{0F<48-Hd^[email protected]_*iH9*S;S,q*Tn*UKn~?.811[e:P4<U4Cs');
define('SECURE_AUTH_SALT', 'vg_IfP?K |qrD((N,8?z8oXj:se9bce.Ix1dR=h`8clpkY&E*yQR+{w*|Y7H%Py#');
define('LOGGED_IN_SALT',   '+Rsj7}9{B&Vw/.)G$sW!uZ5(wz,k|yalX)[email protected]_`oo~FAZ!xl7 f5 [email protected]');
define('NONCE_SALT',       'dlU|a6Hhb7HD~8;B}O&/&<[email protected]`Bd%) D]Y12~w=f-+^UuCwH/1`$8~?cmE');

Step 5: Run the Installation
Open a new browser tab and visit your site address. The system will automatically detect a new WordPress installation and redirect you to the wizard page to run the installation script.

Step 6: Complete the Installation
On this page, fill in the fields for:

  • Site Name
  • Username
  • Password
  • Email address (login information will be sent to this email address)
  • Select whether or not to have the search engines index the site

Click Install Now, and you should be taken to the final screen, showing the following message:

Success! WordPress has been installed.

If you encounter any errors or difficulty during installation feel free to ask in the comments section below.

Duke Bosire



three × 4 =