How to Install WordPress Manually

Article Sections

    It is not necessary to install WordPress manually as it can be quickly installed via Softaculous, however, if you are having trouble with this method, this article will cover the steps needed to install WordPress manually.

    To Install WordPress Manually Upload The WordPress Files to Shared Hosting Server

    First we download the latest version of WordPress from the repository. Uploading the WordPress files to your hosting server can be done in two major ways.

    1. You could use the cPanel File Manager to upload the zip file, OR
    2. Upload the file using FTP access.

    We’re going to highlight both the methods.

    Step #1 – Uploading WordPress ZIP archive using cPanel File Manager

    1. Login to your Vinkers Hosting’s Client Area and launch cPanel.
    2. If you’re unable to locate it, you could try since cPanel’s default port is 2082 (2083 for cPanel over SSH).
    3. In case you cannot login to cPanel, contact us for support.

    install WordPress manually

    Step #1.1 – Understanding which Directory to Install WordPress

    We’ll assume that we have one domain connected in our shared hosting account. The Web root directory is also referred to as the www directory. The actual folder for the www directory is called the public_html folder. This folder contains all the files that are publicly available in our website.

    Technically speaking, the web root directory for a domain or a sub-domain is the base directory containing all the files available to the public HTML port (i.e. port 80/443). If the last line is all confusing to you, consider an example.

    Suppose you’ve purchased and linked your domain to your hosting account. The content of your website, say will be available in the www directory (i.e., the public_html folder). When you create a new folder (say ‘wp‘) inside the www directory, it’ll be available in your domain through the link

    Let’s apply this newfound knowledge to help us decide our WordPress installation directory.

    1. Using the same rules, if you want your WordPress site to be available under, install it under the root directory.
    2. Else, you can make a folder and install WordPress there. Please remember this step as it’ll be useful when we talk about installing WordPress using automate script installers like Softaculous.

    Step #1.2 – Upload, Extract and Move

    So far we’ve downloaded the file, and decided which folder to install WordPress in. Cool, now we will navigate to (or create) the folder where we want to install WordPress and extract the archive in that folder.

    Let’s say we want to install WordPress in a folder called ourwpsite, located inside public_html. In this case, our WordPress site would be accessible under

    install WordPress manually

    Upload the Archive

    1. Now we’ll upload the file inside this folder using the File Manager’s Upload function.
    2. On clicking the Upload button, a new tab opens up.
    3. Select the file and the upload automatically starts.

    Once the upload is complete, close the tab and return to the File Manager. If you still don’t see a file in the ourwpsite directory, click the File Manager’s (and not the browser’s) Reload button. You should see the file now.

    Extract the Archive

    1. Now, select the recently uploaded WordPress ZIP file and click on Extract.
    2. Change the extraction directory on where you want to extract and click on Extract File(s) to begin the extraction process.

    Step #2 – Create MySQL Database and User

    WordPress stores its information in a database. Therefore, a database will need to be created.

    1. Log into cPanel.
    2. In the Databases section, click the MySQL Database Wizard icon.
    3. For Step 1: Create A Database, enter the database name and click Next Step.
    4. For Step 2: Create Database Users, enter the database user name and password and click Create User.
    5. For Step 3: Add User to the Database, click the All Privileges checkbox and click Next Step.
    6. For Step 4: Complete the task, make note of the database name, username and password, as you will need them for Step 4 below.

    Step #3 – Configure wp-config.php

    The wp-config-sample.php file contains the database information and tells the WordPress application which database to pull information from. This step must be completed to ensure the correct database information is associated with the WordPress installation.

    The wp-config-sample.php file can be found in File Manager in the folder where WordPress is installed. To modify the file:

    1. Log into cPanel.
    2. In the Files section, click the File Manager icon.
    3. In the pop-up box, select Web Root and check the box for Show Hidden Files (dotfiles), then click Go.

    If you don’t see the pop-up box, you may have selected the “Skip this question, and always open this directory in the future when opening File Manager” option.

    To make the pop-up reappear, simply click reset all interface settings at the very bottom of your cPanel.

    1. From the left navigation menu in File Manager, click public_html to expand the folder.
    2. Click the folder containing the WordPress installation.
    3. On the right side of the File Manager screen, locate the wp-config-sample.php file.
    4. Right click on the file, select Rename and change the name of the file to wp-config.php. Click the Rename File button.
    5. Right-click on the wp-config.php file and select Code Edit. When the file opens, look for the following information:


    define('DB_NAME', 'database_name_here'); 
       /** MySQL database username */ 
       define('DB_USER', 'username_here'); 
       /** MySQL database password */ 
       define('DB_PASSWORD', 'password_here');


      1. Replace database_name_here with the name of the database you created (above in Step 3: Create MySQL Database and User ).
      2. Replace username_here with the username of the database you created.
      3. Replace password_here with the password of the database that you created.
      4. When done editing, click the Save Changes button, then close the file.

    Step 5: Run the Installation

    Open a new browser window and go to the installation page to run the installation script. Depending on where you installed the script, you will find it at either of the following URLs:

    Be sure to replace in the example above with your actual domain name.
    You should now see a welcome page that says “Welcome to the famous five minute WordPress installation process!”

    Step 6: Complete the Installation

    On this page, fill in the fields for:

    1. Site Name
    2. Username
    3. Password (needs to be entered twice)
    4. Email address (login information will be sent to this email address)
    5. Select whether or not to have the search engines index the site

    Click Install Now, and you should be taken to the final screen, showing the following message:

    Success! WordPress has been installed.
    Did this article answer your question?