If you ever wondered how to install WordPress on cPanel, the ubiquitous web hosting control panel, we have put together a couple of step-by-step guides that should make this pretty easy. While installing WordPress can seem quite daunting if you have never done this before, it is, in fact, relatively straightforward. That’s especially so when you follow our handy WordPress installation guide. So let’s get started…
How to install WordPress on cPanel (WordPress Manager)
The following instructions for the automated/one-click installation of WordPress on cPanel apply to our Standard Hosting package and upwards, which include the WordPress Manager feature. This enables fully-automated installation of WordPress on cPanel. The instructions assume a fresh install in a new hosting account.
- Log in to your cPanel.
- Under Applications, click WordPress Manager
- Click Create Site and either follow:
- For Automatic Configuration (default), simply click Install.
- WordPress will be installed into the selected domain’s root (typically into the public_html directory unless this has been altered). Warning: this will overwrite any existing files with the same names.
- All database settings, usernames and passwords are created automatically.
- For Advanced Configuration (manual settings): click Advanced Configuration.
- Specify all details manually: installation directory, username, password and blog details following guidance on screen. Warning: this will overwrite any existing files with the same names in the specified directory.
- Click Install.
- For Automatic Configuration (default), simply click Install.
- Upon installation, login information will be displayed on screen.
Note this process installs the latest version of WordPress available through the cPanel repository. It is strongly recommended to log into WordPress directly after installation and upgrade to the very latest version.
Sign up for WordPress Hosting now – order online in a few easy steps!
How to install WordPress on cPanel (manual method)
The following instructions for the manual installation of WordPress on cPanel are applicable to our Home Hosting product and/or other services which do not include a One-Click installer. The instructions assume a fresh install in a new hosting account with no other databases or website files present.
- Download the latest version of WordPress at https://wordpress.org/download/ and save the zip file in a handy location on your computer.
- Log in to your cPanel.
- Prepare a database as follows – have a text document open and ready to note the connection details:
- In cPanel, under Databases, click on MySQL Database Wizard
- In step 1, create the database following the hints on screen, and note the database name.
- In step 2, create the database user, ensuring you take a note of the database user and password.
- In step 3, select All Privileges and click next step to complete the set up.
- Return to Home and under Files click File Manager
- Double click on public_html to navigate into this folder.
- Click Upload on the toolbar above the file list.
- Click Select File and find the WordPress zip file which you downloaded in the very first step of this list, and click Open. File is uploaded with progress indicated on screen.
- Go back to the public_html folder.
- Find the WordPress zip file and choose Extract on the toolbar
- This will extract the files to the specified location which will be public_html/wordpress by default – WordPress will be installed in its own directory
- If you wish to install WordPress directly in the public_html directory, navigate into the public_html/wordpress folder, click Select All and then Move. In the Move dialog box, enter /public_html as the file path to which the files should be moved, and click Move File(s)
- Now open a browser and navigate to:
- https://mydomain.com/wp-admin/install.php (if you installed WordPress directly into public_html, or
- https://example.com/wordpress/wp-admin/install.php (if you installed WordPress into a sub folder, in this case the default wordpress)
- Fill out the configuration form with the information as indicated on screen, using localhost or 127.0.0.1 for database host. This may vary by server. Click Submit.
- Complete out the information about your website, taking a note of username and password, then click Install WordPress. On completion, login information will be displayed.
Typical troubleshooting
- Ensure you granted all permissions to the database user during step 3.4 above.
- To check this, in cPanel, go to Databases > MySQL Databases > Current Databases – the database user should be specified under Privileged Users
- To add the user, under Add User to Database, ensuring correct database and user are selected click Add and then grant all privileges.
- Ensure all details (database name, usernames and passwords) are entered correctly – make sure you do not pick up an extra space at the end when copy-pasting
Official documentation:
https://wordpress.org/support/article/how-to-install-wordpress/
Still not sure? Get WordPress set up for you, with specialist hosting included
If you’re still unsure about the whole process of getting WordPress installed, we have the ideal package for you with our WordPress hosting package. WordPress comes pre-installed on a hosting package that has been tuned to serve WordPress with the latest version of PHP, masses of disk space and email accounts all included. It’s just £15 + VAT per month or get a free domain name when you sign up for an annual contract.