In this post we will walk you through the steps to successfully install WordPress manually using your cPanel. As an added bonus we have also included a tutorial video at the bottom of this post and a handy-dandy PDF Cheat Sheet with some useful instructions and links.
Let’s get started, shall we?
Step 1:
Download the most recent version of WordPress to a location of your choice at WordPress.org
Step 2:
Upload and extract the WordPress .ZIP file to your desired installation directory.
Okay so at this point I am assuming that you already have a hosting provider using cPanel and that you have already created an Add-On Domain or Subdirectory.
Within the File Manager, locate and navigate to that directory. From the top toolbar of the cPanel, select “Upload” and browse for the file you downloaded from WordPress.org. Once the .ZIP file has finished uploading, return to the directory by clicking the “← Go Back to “/home/yourserverhere/public_html/yoursitehere” link.
Within the directory root you will now see the wordpress.zip file. Click on this file to select it and then from the cPanel tool bar at the top, click “extract”. After that click “reload” in the cPanel toolbar and you will see the extracted wordpress folder. You can now delete the .ZIP file in order to keep everything nice and clean.
Step 3:
Move files from the wordpress folder back into the directory root.
Double click on the newly extracted “wordpress” folder and you should now see all the WordPress files. From the cPanel toolbar, click on the box “Select All”. All of the WordPress files should now be highlighted. In the cPanel toolbar select “Move File” and a modal will pop up with a directory link “/public_html/yourdirectoryname/wordpress”. Remove the “/wordpress” tail from the end of the path and click Move File(s). All files should now be moved to your directory root and click “Up One Level” from the toolbar to view them.
Step 4:
Create a database and database user
We have finished the initial steps and now it’s time to setup the database that will power your website. Navigate to your cPanel’s main dashboard and locate/click the icon “MySQL Database Wizard”.
Once inside the Database Wizard you will be prompted to create a New Database. Your database prefix will appear followed by an underscore and a blank area for you to populate your database name “yourserver_blankarea“. In the blank area you will enter your database name and keep it in a safe spot for a future step. The database name should be at least 3 characters and only contain alphanumeric characters. After filling in the name click “next step”.
You will now be prompted to create a Database User. Your database prefix will appear again followed by an underscore and a blank area for you to populate your database username “yourserver_username“. The database username cannot contain more than seven alphanumeric characters. Save the username to a safe location for future use. Now either manually enter a password of your choice or use the provided “Password Generator”… just make sure that your password is strong and secure. Now click on the button “Create User”.
Now that you have created the Database User, you will be brought to a page that asks you to assign privileges. Tick the box at the top that reads “All Privileges” and then click the button “Next Step”. Your database is now set up and you can now move on to plugging the database information into the wp-config.php file.
Step 5:
Populate the wp-config.php file with your database information
Okay now it is time to navigate back to the proper directory in the file manager with your database information handy. In your site’s directory root, locate the file named “wp-config-sample.php“. Click on this file and then select “Code Editor” from the top toolbar, click “Edit” and open the .php file.
Now that the wp-config-sample.php file is open in the Code Editor, it is time to start adding your database information…
Locate the line that reads “define(‘DB_NAME‘, ‘database_name_here‘);” and add your database name.
Locate the line that reads “define(‘DB_USER‘, ‘username_here‘);” and add your database username.
Locate the line that reads “define(‘DB_PASSWORD‘, ‘password_here‘);” and add your database password.
Step 6:
Replace default Unique Keys and Salts
With your wp-config-sample.php file still open in the Code Editor, navigate to the section that reads “*Authentication Unique Keys and Salts”. Visit the WordPress Unique Phrase and Salt Key generator here. or as linked in the provided PDF “Cheat Sheet“. Copy the Unique Phrase and Salt Keys generated by the WordPress API and replace the default ones located in the wp-config-sample.php file. Once you are finished with that, hit “Save” and exit the Code Editor and return to the directory root.
Step 7:
Rename “wp-config-sample.php” to “wp-config.php”
Now that you are back in the directory’s root, single click on the wp-config-sample.php file to highlight it. From there click on the “Rename” icon in the top toolbar and rename “wp-config.sample.php” to “wp-config.php”. Click the “Rename File” button and you’re all finished with this phase.
Step 8:
Run the WordPress Installation Script
At this point you are all finished with the cPanel portion of this process… congrats!
Now it is time to run the WordPress Installation Script by visiting this link: https://example.com/wp-admin/install.php or the one provided on the PDF Cheat Sheet.
Once you have visited the link for the Installation Script, you will be brought to a page with the URL “https://example.com/wp-admin/install.php”. Replace the “example.com” with the address of the website you are creating. Hit Return/Enter on your keyboard and the install process will begin.
Once you have arrived at the next screen, select the language of choice for your WordPress install and click “continue”.
You will then be brought to a page prompting you to enter all of your website’s pertinent information such as the site title, your username, your password, and email address. If you are developing a new site at this address, it may also be a good idea to tick the box “Discourage search engines from indexing this site” so Google, Bing, etc. don’t index your site before it is populated with content and ready to launch.
Once you have filled in all of the information, hit “Install WordPress” and you are all finished! You will be asked to log in to your new site with your provided username and password and you can now begin to build your masterpiece 🙂
i really appreciate the video very helpful followed everything as directed as it worked perfectly
Fantastic video! Thank you!!!
Super helpful thanks!
Grerat tutorial – Easy for dummies understanding, Clear and simple. CONGRATS!!!
Hey Cory,
Thank You for this.
Well, a quick question.
Is it necessary to create a database?
Since it is 2020. I never needed to create a separate database when installing WordPress in my host.
Am I missing something here?
Thank you and Keep sharing
Great Article! Thank you for taking time to create this!
Hi great tutorial I managed to get everything done except the ‘run the WordPress Installation Script’. When i enter ‘https://example.com/wp-admin/install.php’ with my domain instead of example.com I get a ‘404 Not Found The resource requested could not be found on this server!’ error message 🙁
I received the same error until I looked up for the “index.html” file to determine the right directory which I should extract the wordpress files. Depending on your domain server host, mine is labelled as “public_html” folder. I copied the wordpress files into this folder, and tried “http://example.com/wp-admin/install.php” one more time, and it worked perfectly.
I am successfully installed wordpress manually, and it works as expected.
Thank you for your time.
Regards
Hi there
Thank you for this detailed article.
Same as Jelica, I have difficulties with the last step, receiving the not secure and page not found error. I’ve installed WP into the root and followed all your steps accurately so not sure what it the problem.
Is there any other way to initialize the installation?
Thank you,
John
Hi there.
First, thank you so much for your article.
I have troubles installing wordpress, its the last step.
When I try to go to my www it says Not secure and it wont proceed to installing.
Could you help?
Thank you.
Kind regards,
Jelica
Same
Thanks for sharing useful information ..
thank so much