Navigate / search

How To Install WordPress

This article is part of a tutorial series called How To Create Your Website In 6 Steps

If you want to install WordPress there are 2 ways to do that:
Install it with the help of a 1-click script installer or install it manually.
Most Web Hosting Providers offer 1-click installers like Softaculous or Installatron for free.
(Fantastico isn’t that good because it’s dated and has some flaws)

However if you want to install it manually you can easily do so by simply following the 6 steps below.

1. Get Login Details From Web Hosting Provider

First you need the login details from your hosting provider.
In case you don’t have one yet consider to check out How To Choose A Web Host

Required Info that you get from your hosting provider:

  1. FTP Login Info (Server Address, FTP Username, FTP Password, Port is 21 or 22)
  2. FTP Client (FileZilla)
  3. cPanel Login Info
Note down the Login info and download FileZilla

2. Create A MYSQL Database

First go to the Control Panel of your Webhost. In most cases this is cPanel, Plesk or DirectAdmin.
Let’s assume you have cPanel.

Let’s create a MYSQL Database

  1. Click on MYSQL Database icon
  2. Enter database name into the field located under Create New Database (syntax is: user_wordpressdatabasename… for example pixel_wordpressdatabase)
  3. Click Create Database
  4. New screen shows up that confirms the creation of your database
  5. Click Go Back
  6. Now your newly created Database shows up under Current Databases

Let’s create a MYSQL User

  1. Enter username into the field located under Add New User (for example: pixel_userwordpressdatabase)
  2. Enter password
  3. Click Create User
  4. New screen shows up that confirms the creation of your user
  5. Click Go Back
  6. Scroll down to Add User To Database
  7. Now you see 2 drop down fields with the User and Database
  8. Click Add to add the user to the database and give yourself permission to modify the database
  9. Give user all privileges and click on Make Changes
  10. Screen shows up that confirms your that the user was added to the database
  11. Click Go Back
That’s it. Database and User are now created.

3. Download WordPress

Now you have to download WordPress and then connect WordPress with the database.

  1. Download the latest WordPress version from
  2. Unzip it on your hard drive. (For example with 7-zip)
  3. Locate a file named wp-config-sample.php and rename it into wp-config.php
  4. Open the wp-config.php with a text editor
  5. Now you will see these fields:
  6. define(‘DB_NAME’, ‘database_name_here’);
    define(‘DB_USER’, ‘username_here’);
    define(‘DB_USER’, ‘password_here’);

  7. Fill in the database details by simply entering them in that manner:
  8. define(‘DB_NAME’, ‘pixel_wordpressdatabase’);
    define(‘DB_USER’, ‘pixel_userwordpressdatabase’);
    define(‘DB_USER’, ‘pixel_YoUrSuPerstRo0ngPasswOrD’);

  9. DB_HOST?
  10. (In case your web host uses cPanel you can leave the default ‘localhost’ field alone because it is correct and thus you don’t need to change it.
    However sometimes a hosting provider uses a different name and then you need to change it.
    Here is a list of some possible DB_HOST values
    In case your hosting provider isn’t listed there just write them a mail and ask which DB_HOST value they use)

  12. Leave them alone and don’t change them.

  13. Scroll down to Authentication Unique Keys and Salts and Secure WordPress by
  14. a) Visit this link that generates some unique keys for you
    b) Copy the generated code and replace the default code with it

  15. Save the wp-config.php
Your WordPress package is now ready to go online…!

4. Upload WordPress

  1. Open FTP Client (For example the free FileZilla)
  2. Upload the unzipped WordPress folder directly to the root directory of your webspace (Like copying something directly to your hard disk C:\ instead of copying it to C:\Program Files)
Now WordPress is uploaded..

5. Run The WordPress Installation Script

  1. Open the URL to which you have uploaded WordPress ( or
  2. Enter the site title
  3. Enter username (don’t use admin as a username for security reasons. Instead use something more unique like your name or something)
  4. Enter password
  5. Enter email address
  6. Note down username and password!
  7. Click Install WordPress
  8. A new screen says that WordPress is now installed and that you can login with your username and password
  9. In order to do so just open and enter your username and password
  10. Click Log in
Congratulations! Now you see your very own Dashboard from which you can publish blog posts, change appearance of your site etc.

6. Setup WordPress Properly

Now it’s time for some fine-tuning… Check out the “9 Things To Do After You Have Installed WordPress”.

These steps include necessary stuff like general settings, installing plugins, change design etc.

Further Reading

Installing WordPress
Use XAMPP to intsall WordPress locally
How to setting up WordPress locally using XAMPP