How to Manually Install WordPress on Sshared Web Hosting using cPanel

How to Manually Install WordPress on any Web Hosting (Using cPanel)

WordPress is the most popular and best CMS to create a Blog. Just because of it’s easy to use interface. Before getting started with a WordPress Blog or Website, you must have installed WordPress on your Web Hosting. Almost, all Web Hosting provider offers 1 Click installation feature by many of the automate Script Libraries like Fantastico and Softaculous (Script Libraries that automates the Installation of Web Application on a We Address within 1-2 minutes). But in this guide I’m going to show you how you can manually Install WordPress on any Web Hosting or Web Address using cPanel.

Things required to Manually Install WordPress on any Web Hosting :

  • WordPress Software, download latest version of WordPress from their download page or you can direct download here.
  • Credentials (username & password) of your Web Hosting or cPanel.

If you don’t already have any Web Hosting Package and you’re roving or finding Best Web Hosting to purchase one, then we’ll recommend you to go for:

I’m assuming that you’ve downloaded WordPress latest software & you’ve Web Hosting or cPanel credentials too.

So, let’s get to Install WordPress.

Create Database, User & Link them to each other:

Don’t be confused here, just follow the step-by-step instructions & screenshots complete guide. Now login to your cPanel and click on the MySQL Database Wizard under Database section and create a database.

We’ll change this setting in wp-config.php file later.

Naming of new MySQL Database
Name your MySQL Database for WordPress Installation.

Click on Next Step and give a username and password there to create Database User, your password must be strong for some Security reasons. I recommend you to use cPanel inbuilt password generator, it generates a strong and complicate password.

MySQL Database Username and Password
Enter Username and Password

As you’ll click on create user, It’ll ask you to give privilege permissions, click on all privileges and move on to next step.

MySQL Database Privileges Permission
Select ALL PRIVILEGES & Click on Make Changes

And that’s all, we’ve successfully created a DB and Username for your new WordPress Installation. I hope that you’ve noted DB name, Username and Password in a Notepad file, if you didn’t then you should right now. You can copy DB name, Username from the MySQL Databases under Database section and Password is all yours. As these will be needing in the next few steps.

WordPress Manual Installation Starts here:

Note:- I’m performing this manual installation on a Sub-domain of HowToCracker.com (test.howtocracker.com).

Upload the WordPress to your cPanel:

Now, click on Files Manager under Files section in cPanel (cPanel>Files>Files Manager), open the directory where you want to install WordPress. I’m opening /public_html/test .

On the top of the cPanel Files Manager window, click on Upload. Then, browse/select the downloaded WordPress Software. Once you uploaded the.zp file, click on Extract button, it’ll ask you the Extraction path (select the path where you want to installĀ extract WordPress).

Extract WordPress
Extract WordPress

But, by default extractor creates a new folder as wordpress and extracts in it. Now, we’ll need to move all the files out of folder wordpress (because we’re installing WordPress on a sub-domain test.howtocracker.com not on test.howtocracker.com/wordpress/). Browse to folder wordpress using file manager, select all the files and click on move at the top of file manager, an move all the files directly under your installation directory.

Tip: After the Extraction of all the Files, you should delete the uploaded wordpress software .zip package and empty folder to speed up your blog.

Now, we’re all set to move on to edit the file wp-config.php.

Editing the wp-config.php file (WordPress Configuration):

Now, it’s time to configure WordPress to work with Database.

Rename and Edit wp-config
Rename & Edit wp-config.php
  1. Right click on the wp-config-sample.php file.
  2. Rename it to wp-config.php.
  3. Now, right click on the wp-config.php and click on Code Edit (here, we’re going to edit the credentials of database we’ve created in step 1).

So, we’re going to change a couple of things to associate the WordPress installation to the Database we’ve created. We’ll change the database name, username and password, we’ve defined while creating Database.

Find the lines of code as showing below:

// ** 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');

So replace the database name, username and password, what we’ve created in Step 1. And, save the file.

I’ll also recommend you to replace some of the lines of code for more Secure WordPress Installation. *(Optional)

Find the link given below in your wp-config.php file, just copy it and paste it in browser and hit enter. It’ll generate a 8 lines of code.

https://api.wordpress.org/secret-key/1.1/salt/

Just copy all the lines of code and replace with:

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');

Then find a line of code, shown below:

$table_prefix = 'wp_';

Now, replace the wp with a strong word, whatever you want.

And, that’s all we’ve configured the wp-config.php file, just Save the File.

Till now, we’ve just done all the basic settings which we need to Install WordPress Manually. It’s time to execute the WordPress Installation main Script.

Executing WordPress Installer Script:

We’re going to performing the last step to have your WordPress Blog up and running. We’ll give a username and password to your WordPress Admin (wp-admin) and some general settings.

Go to your add-on or sub-domain address:

http://subdomain.domain.com/

NOTE: ReplaceĀ  http://subdomain.domain.com/ with your own web address. As I’m installing on sub-domain of HowToCracker, so, I’m going to test.howtocracker.com.

It’ll ask you for WordPress Installation language. So, First select the language of Installation and click continue.

WordPress Installation
Select the Language of your WordPress Installation
WordPress Installation
Give Site Title, Username & Password

Give Site Title, Username and a complex password to your WordPress Installation. Try to avoid giving admin as username and password for security of your WP Blog.

And, that’s all you’ve successfully installed WordPress manually. Now, you can login to your WordPress Admin by going to your installation URL followed by wp-admin:

http://subdomain.domain.com/wp-admin

If you’re roving for a Best Web Hosting for starting up your WordPress Blog. I’ll recommend you to go for:

In case, if you’re still facing any problem in Installing WordPress Manually, feel free to ask via comment.

If this article helped you, please don’t forget to share this article to help others.

Have a Good Day and Take Care.

Help Others by Reviewing :

Show
Hide