If you are planning to start a blog or make a website, one of the basic needs is a Content Management System (CMS). For beginners or having less knowledge of designing and developing websites, 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. If your hosting plan includes an automatic WordPress installer, you can install WordPress easily using the auto-installer. But, if such a feature is not available, you have to install WordPress manually.
To help you on this matter, we have a detailed guide on how one can install WordPress manually on their server. To install WordPress manually, you will need to download WordPress Content Management System [CMS] and install WordPress on cPanel or any other control panel of the hosting server manually by creating an SQL database for it.
- How to Install WordPress Manually Without Softaculous on cPanel?
- Download WordPress from WordPress.org.
- Upload WordPress to Server (Hosting)
- Extract WordPress.zip File
- Moving Content Outside WordPress Folder
- Creating a MySQL Database.
- Creating Database User
- Providing All Privileges to the Database User
- Running Manual Installation Process
- Providing Database Details to Install WordPress Manually
- Providing Details for WordPress
- Frequently Asked Questions
How to Install WordPress Manually Without Softaculous on cPanel?
The following is a detailed and step-by-step guide on how you can install WordPress manually on your cPanel or any other server without using cPanel. This guide will definitely help you to understand how the installation of WordPress is working.
If you are having trouble setting up your website on your hosting server just because you are not provided with the automatic installer, then I have a detailed guide on how to install WordPress manually on cPanel or any other server without an auto installer.
Download WordPress from WordPress.org.
Since WordPress acts as a content management system like software does on your computer, you have to install WordPress on your server. Therefore, initially, you will need to download WordPress CMS from the official website of wordpress.org in order to install WordPress manually on your server. Simply go to WordPress and download the WordPress.zip file on your computer’s storage.
Alternatively, there is also another option to download as .tar.gz format, but for most of the servers, you can just download the ZIP file.
Upload WordPress to Server (Hosting)
Log into your desired hosting server, where you want to install WordPress manually. Then locate the File Manager function of your hosting server. If you are not able to find or locate the File Manager function, or it is not provided by the hosting service providers, you might be provided with another option called an FTP account.
From the FTP account details, you can use the FTP server installed on your computer.
You can either upload it to the directory where your domain is located or upload it to the public_html folder or any other folder you like to install WordPress manually.
Extract WordPress.zip File
After uploading the WordPress ZIP file, it’s time to place the core files at the domain/ subdomain/ directory or subdirectory where you are willing to install WordPress.
If you want to install WordPress on the main domain of your cPanel, you can extract the file from the public_html folder. But if you want to install it on yourdomain.com/blog directory, you have to extract the core files of WordPress at the blog directory created inside public_html.
And similarly, if you want to install WordPress manually on Addon Domain or Sub-Domain, you have to locate where the relative folder of the subdomain or addon domain is located. In newer versions of cPanel, they may be in the home directory, and in some cPanel, they may be located inside public_html which can also be moved outside the public_html folder.
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 the WordPress folder to the 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 the WordPress folder to blog.
This will install WordPress manually on the subdirectory of your domain or subdomain. And the root directory i.e example.com can be used for other purposes.
Creating a MySQL Database.
The 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 the body. We will learn to connect databases with WordPress in the coming steps.
Generally hosting services provide a 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 a name, but the whole grismacom_main is the database name.
Please note the database name somewhere or just remember it. After giving the database name, click on the next step which will lead you to the database user creation page.
Creating Database User
The next thing required to install WordPress manually is creating a MySQL database user. Give an appropriate name for the user and an acceptable strength password. It is recommended to give a username related to the name of the database to reduce confusion. Again, note the database username and password.
Providing All Privileges to the 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 a tick on All Privileges.
Then click on the Make Changes button, which will save the privileges settings. After doing that you can finally click on the Next Step button to finish the work on phpMyAdmin.
Running Manual Installation Process
After creating a database, you will need to run the installation script. To initiate WordPress installation manually go to the 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 on the language page. On this page, you have to select the preferred language on which you want to set up your website and see the dashboard, then click on the Continue button.
After clicking on the continue button, you will be provided a page with a 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 the 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 the table prefix as it is.
For the majority of hosting, the Database hostname is localhost, in some cases, you might need to change the Database hostname. In such a case, contact your hosting provider. After providing these details, click on the Submit button.
Providing Details for WordPress
This is the final step to installing WordPress manually on cPanel. This step requires you to provide your site name and then a username, password, and email address for login.
It also provides a search engine visibility field. Keep the box remain unchecked to ensure the indexing of your site by a search engine.
By completing all these steps, you will be able to install WordPress manually on cPanel. To log in to your site’s Dashboard, go to example.com/wp-admin or example.com/blog/wp-admin, depending upon the 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 that WordPress can be installed manually too.
If the hosting service provider does not provide an automatic WordPress installer, simply following the steps mentioned above can solve your issue.
Frequently Asked Questions
Can I Install WordPress Without creating a Database?
No. You can not install WordPress without creating a database during a manual installation.
WordPress, a PHP-based CMS requires a database that works as the brain of WordPress.
You can install WordPress without creating a database only when you are using an auto-installer that 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 a 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, the manual WordPress installation process takes 5-10 minutes. But, if you are a beginner or installing by reading instructions, it may take up to 20-30 minutes.
Why My Installation is Unable to Establish a Connection with the Database?
If you provide the wrong details of the 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 the 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 Login to WordPress?
After installation, it will land you on the page which will provide an option to log in.
If you missed that, by going simply to example.com/login or /wp-admin you can log in to the WordPress dashboard.
If you have installed WordPress on the subdirectory consider adding the subdirectory in the login URL.
For example domain.com/blog/wp-admin.