If you are planning to start a blog or making a website, one of the basic need is Content Management System (CMS). For beginner or having less knowledge of designing and developing website, WordPress is the best.
But, just making choice by mind doesn’t create a site. You will need to perform some manual actions too. And the first step is installing CMS for the website.
- Step by Step Guide on How to Install WordPress Manually
- Download WordPress from WordPress.org
- Upload WordPress to Server (Hosting)
- Extract WordPress.zip File
- Moving Content Outside WordPress Folder
- Creating an MySQL Database.
- Creating Database User
- Providing All Privileges to Database User
- Running Installation
- Providing Database Details to Install WordPress Manually
- Providing Details for WordPress
If your hosting plan includes WordPress installer, you can install WordPress easily using the auto installer. But, if such feature is not available, you can also install WordPress manually with the help of this step by step guide.
To install WordPress manually, you will need to download WordPress Content Management System [CMS] and install WordPress on cPanel of hosting server manually creating an SQL database for it.
Step by Step Guide on How to Install WordPress Manually
This is a Step by Step Guide to Install WordPress Manually on cPanel.
Total Time: 7 minutes
Download WordPress from WordPress.org
Installing WordPress is similar to installing a software on your computer. Therefore, initially you will need to download WordPress CMS. WordPress CMS can be downloaded from WordPress.org.
Simply go to WordPress and download the WordPress.zip file on your local storage.
Upload WordPress to Server (Hosting)
Log into your desired hosting server, where you want to install WordPress manually.
You can upload WordPress using server File Manager which is in most of case provided on your control panel.
Extract WordPress.zip File
If you have multiple choices for installing WordPress, decide the correct domain or subdomain.
If you want to install WordPress manually on main domain, the correct directory for it is public_html. It means you should extract the zip files in public_html folder.
And if you want to install wordPress manually on addon domain or subdomain, you should choose the correct directory.
Here, correct directory means the folder where the addon domain lies.
It can be inside public_html or outside depending upon the cPanel you are using.
If your server is using older version of cPanel, your subdomain as well as addon domains lie inside public_html with respective directory name.
Similarly, if the cPanel used by hosting service provider is new and updated, all the addon domain as well as subdomain are placed outside public_html in home directory (if not, addon domains can be placed outside public_html)
In my case, I wanted to install WordPress manually on a subdomain, which is located inside Public_html.
You can extract WordPress.zip inside public_html or wherever you want to install WordPress manually.
Give the location of the domain and click on extract button.
Moving Content Outside WordPress Folder
When you extract WordPress, it creates a folder named WordPress inside our target directory. If we let the folder remain as it is, WordPress will be installed on example.com/wordpress.
To avoid this, select all the contents and move them outside WordPress folder to domain folder. In my case, it is m.grisma.xyz where I wish to install WordPress manually.
But, if you want to create your site address looking like example.com/blog for blogging only, change the name of WordPress folder into blog.
This will install WordPress manually on subdirectory of your domain or subdomain. And the root directory i.e example.com can be used for other purposes.
Creating an MySQL Database.
Database is the brain of a WordPress site and WordPress CMS itself is a body.
To make the body functional, you will need a brain connected to body. We will learn to connect database with WordPress in coming steps.
Generally hosting service provide MySQL database. If there is no SQL database, there must be another database.
To create a database, you will need to go to MySQL ® Database Wizard and give a name. In my case, I gave ‘main’ as name, but whole grismacom_main is the database name.
Please note the database name somewhere or just remember it.
After giving database name, click on next step which will lead you to database user creation page.
Creating Database User
The next thing required to install WordPress manually is creating a MySQL database user.
Give any appropriate name for user and an acceptable strength password.
It is recommended to give username related to the name of database to reduce confusion.
Again, note the database username and password.
Providing All Privileges to Database User
The user created above is provided to WordPress. WordPress will use this user to get access to your particular database, alter, create, delete, trigger files and many other actions.
Therefore, provide all privileges by giving tick on All Previleges.
After creating database, you will need to run installation script. To initiate WordPress installation manually go to URL where you have placed WordPress files.
For example, If you have placed WordPress inside example.com/blog, go to example.com/blog. Otherwise, simply go to example.com
This will redirect to URL/wp-admin/setup-config.php which will subsequently land you to language page. Select, your preferred language and click on the Continue button.
After clicking m continue button, you will be provided a page with detailed guide about providing the Database name, user and password.
Providing Database Details to Install WordPress Manually
In this step, you will need to provide details of Database name, database user and password which I previously mentioned to save/remember.
Let the Database host be as it is, i.e localhost and leave table prefix as it is.
For the majority of hosting, Database host name is localhost, in some case, you might need to change Database host name. In such case, contact your hosting provider.
After providing these details, click on the Submit button.
Providing Details for WordPress
This is the final step to install WordPress manually on cPanel.
This step requires you to provide your site name then a username, password and email address for login.
It also provides search engine visibility field. Keep the box remain unchecked to ensure indexing your site by search engine.
- FTP Access
By completing all these steps, you will be able to install WordPress manually on cPanel.
To Login to your site’s Dashboard, go to example.com/wp-admin or example.com/blog/wp-admin, depending upon installation directory.
From Dashboard, you will be able to manage almost everything on your site.
You may already know or have seen how someone can install wordpress with WordPress Installer Apps.
After reading this blog, you should be clear about that WordPress can be installed manually too.
If the hosting service provider does not provide automatic WordPress installer, simply following the steps mentioned above can solve your issue.
Can I Install WordPress Without creating Database?
No. You can not install WordPress without creating database during manual installation.
WordPress, a PHP based CMS require a database which works as brain of WordPress.
You can install WordPress without creating database only when you are using auto installer which itself creates and use the database required to install WordPress.
Can I Install WordPress on Subdomain or Subdirectory?
Yes. You can install WordPress anywhere whether it is subdomain or subdirectory.
You will need to choose the installation path and you will be able to install it anywhere.
How Long Does it Take to Install WordPress Manually?
Generally manual WordPress installation process takes 5-10 minutes. But, if you are beginner or installing by reading instructions, it may take upto 20-30 minutes.
Why My Installation is Unable to Establish Connection with Database?
If you provide wrong details of database and database user, WordPress will be unable to connect with the database required for WordPress.
If the above mentioned process fails anywhere, reconfirm or recreate a new database and provide the same with wp-config-sample.php file which is somewhere in the crowd of extracted files.
First, you will need to change the name of wp-config-sample.php to wp-config.php
Right click and click on edit and provide the database details in it.
How Do I Log In to WordPress?
After installation, it will land you on d paye which will provide an option to Login.
If you missed that, by going simply to example.com/login or /wp-admin you can login to WordPress dashboard.
If you have installed WordPress on subdirectory consider adding subdirectory in login URL.
For example : domain.com/blog/wp-admin.