Installing WordPress is easy. Whether you use a 1-click installer provided by your host, or do it manually using MySQL and FTP, it is really simple to do. This guide will walk you through the steps for a successful, secure, WordPress installation.
If you don’t want to even install WordPress, you can sign up for Managed WordPress Hosting. These hosting services come pre-installed with WordPress. They also take care of all your updates for you. You can learn more about Managed WordPress Hosting in the hosting guide.
The following scripts are available for 1-click installs of WordPress. What this means is that you can log in to your hosting provider, click on the application and WordPress will be installed on your hosting account.
To find the 1-click install scripts on your hosting provider, look for any of the following:
- 1-Click Applications
- Anything with the phrase “1-click” or scripts
These scripts turn installing WordPress from a 5-minute install, to a 30 second install.
Make sure your WordPress installation stays secure by selecting an admin username other than “admin” and by using complex passwords. You can use this password generator to help you come up with a complex password. If you have lots of WordPress (and other) passwords to remember, you could download KeePassX, or try a service like LastPass or 1 Password.
The 5 Minute Install
If you’d like to install WordPress manually, you can follow this method. It’s quick and easy to do, and you’ll learn something about using an FTP program, editing a PHP file and creating a MySQL database.
Before you get started
Before you get started, you’ll need the following:
You should also check to ensure that your web host has the minimum requirements to run WordPress.
If you’ve got everything you need, let’s get started!
Create a MySQL Database and User
First of all, you need a MySQL database to install WordPress to. This will either be done via CPanel, Plesk or phpMyAdmin.
Download & Extract WordPress
Visit the WordPress website and download the latest version of WordPress.
Unzip the file to an easy-to-find location on your computer.
wp-config.php is your WordPress configuration file. Open the folder on your computer containing WordPress and find the file
Open the file in your text editor and scroll down until you locate the following:
// ** 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');
Here you need to replace the following:
- database_name_here – your MySQL database name
- username_here – your MySQL username
- password_here – the password that goes with your database username
Scroll down and find:
*/ 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'); /**#@-*/
Where it says “put in your unique phrase here” you need to insert a unique phrase. You can generate these using the WordPress secret-key service. Just copy the keys and salts from there and replace the ones in your wp-config-sample file.
Normally, you should not have to change anything else. If you think you do, but aren’t sure, check with the volunteers at the WordPress support forums.
Finally, save the file as wp-config.php.
Upload the Files
The most common way to upload files is via FTP, however some people use pure SSH, while others use a web based tool.
Run the Script
Finally, open your browser and navigate to your website to run the installation script. This will either be:
- For a root domain installation: http://yourdomain.com/wp-admin/install.php
- For a sub-domain installation: http://subdomain.yourdomain.com/wp-admin/install.php
You’ll land on a screen like this:
Insert a username and password. And when you’re happy, click Submit!
Congratulations! You’ve installed WordPress. Now to have fun building your website!