Many web hosting providers nowadays offer a 1-click installation of WordPress on their hosting packages. If so, you don’t have to worry about creating databases and the files necessary for WordPress. All you have to do is click one button and follow along some simple instructions and you are all set up to go and start blogging. Dreamhost is a host we recommend that offers such an easy one-click installation
But what if you are unlucky and your hosting provider doesn’t provide an easy installation of WordPress? Well, then you have to manually install WordPress. If you have some technical expertise it isn’t too difficult a process, but if you don’t it can be quite cumbersome. That is why we have written this short guide.
But be aware, installing WordPress requires some basic knowledge. You have to be able to:
- login to the control panel of your hosting provider
- work with .zip files
- use an FTP program (CoreFTP is a free program we recommend if you don’t have one)
- create a MySQL database in your control panel (usually CPanel)
How to manually install WordPress:
Step 1: Download WordPress
- go to https://wordpress.org and download the .zip file
- unzip the file and save it in a folder somewhere on your computer
Later on you will upload the content of this folder with FTP to your website.
Step 2: Create a MySQL database
WordPress saves all its data to a database. That is why you need a database before you can start installing WordPress on your website.
- log in to the control panel of your website (usually this is CPanel)
- go to the section for MySQL databases
- create a new database
- create a user for this database
- link the new user to the database and give him full rights to the database
Once the database is created you will need all login data for it so make sure to take a note of the database name, username and password.
Step 3: Create and configure the wp-config.php file
In the main folder of the WordPress folder you downloaded earlier there is a file names wp-config-sample.php. Locate this file and rename it to wp-config.php and open it with a texteditor. Look for the following text in the file:
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
You have to replace the text we have marked in bold here with the data from the MySQL database you created earlier. In some rare cases you will also have to replace the text ‘localhost’ with the name of a MySQL server but this is almost never the case. Close the wp-config.php file and save it.
Step 4: Upload WordPress to your web host
- install an FTP program like CoreFTP if you don’t have one installed already
- find out which login and password you need to upload files to your web host. Usually your hosting provider has sent
- these when you created your account, or you are able to find these on your control panel.
- upload the content of your WordPress folder to the directory in which you want to install WordPress on your website (usually this the root directory)
Step 5: Install WordPress
- surf to your website (or to the directory in which you uploaded your files)
- you should see a page now “Welcome to the famous five minute installation of WordPress”
- complete the installation process and make a note of the administrator login and password you have to choose here
- login to your WordPress blog at http://www.YOURSITE.com/wp-login.php
As you can see, there are quite some steps to follow to install WordPress yourself on your web host. If at all possible register an account with a hosting provider that offers the easier option of installing WordPress with a simple click on a button. We recommend using Dreamhost for this, a very reliable hosting provider we like to use ourselves for some of our WordPress projects.
Good luck installing WordPress!