Most hosts have a function to automatically install WordPress for you to start using it easily. But if they don’t, or it is a host that puts restrictions on your install, you can manually install WordPress.
Before you start you need to set up a new database, this is simple, find the database option in your cpanel, or control panel once logged in. Set up a new one and make a note of the details
- User name
- Database Name
- Password
You should also make sure your domain is pointing at the correct database / hosting folder
If you don’t have access via ftp set up, you need to set it up and using a program like Filezilla connect to your host.
- Connect to the domain via ftp to make sure you have access
- Download the WordPress files from https://wordpress.org/ (top right button on site)
- Unzip the WordPress file and open up the wp-config-sample.php file
- The section in the file in red edit with the details you have. Save the file and rename it wp-config
- Some hosts you need to change the MySQL hostname – if you have that and it is different to ‘localhost’ change that too
// ** MySQL settings – You can get this info from your web host ** //
/** 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’);
/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);
/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);
- Save the file and rename it wp-config.php
- Upload all the files via ftp to the domain
- When you then go to the domain in a browsers you will get a wordpress window that asks you to name the site and add a user and password et
- Then you should be able to login to the wordpress install