How To Install WordPress Manually – Step by Step Guide 2023
How To Install WordPress Manually?
- Install an FTP client on your local computer.
- Get your FTP details from your hosting provider.
- Create your database using your cPanel dashboard.
- Download WordPress from WordPress.org
- Edit your wp-config.php file with your details.
- Upload the files to your server using an FTP client.
- Open your URL and follow the on-screen instructions.
WordPress Installation Methods
There are two main methods available to install WordPress. An automatic method that is usually provided by your web hosting provider through a "one-click" installation script and the manual method where you upload the WordPress files manually to your server after creating the database before the installation. In this guide we will explain how to install WordPress using the manual method by utilizing an FTP client.
Required Tools For WordPress Installation
FTP or Shell access - FTP (File Transfer Protocol) is the easiest method to go here really. It lets you transfer data as you may have thought. Through FTP, you can upload, and download files to and from the server of your web host. There are plenty of options for FTP clients or the interface that connects the server and you. Up here at Labinator, we recommend the free and open-source FileZilla FTP client. It is also available for all operating systems.
Text Editor - To work with program code, a good text editor is needed. Please note that a normal word processor is not a text editor because it adds some formatting that might break your code. For viewing and editing source codes, we recommend the Atom editor. It is totally free, open-source, and works on all operating systems.
For instance, when we save the program code written with any word processor, it adds unwanted characters that will make your code futile.
For viewing and editing source codes, we recommend the Atom editor. It is totally free, open-source, and works on all operating systems.
Required Details For WordPress Installation
FTP Login Information - Please collect your FTP login information from your hosting provider. The FTP site address will probably be like your internet address, but instead of (https://example.com), it will be (ftps://example.com) Your hosting provider can also help you in finding or creating your first FTP account.
To get started, go to the cPanel and click FTP Accounts.
Enter any username in Log In, select your domain, keep a strong password of at least 65 characters.
You might think, how would I log in? First, click on Configure FTP Client to provide you FTP Username, FTP Password, and FTP Port.
Database Creation - You need also to create a database for your WordPress installation. Most hosting providers can also help you with this task. You can also create and manage your databases easily from your cPanel or your web host control panel.
The WordPress Installation Process
Step 1: Download WordPress
Download the latest stable release.
WordPress is an open-source software application that's continuously being refined by members of the WordPress community. The improvements happen in the background so that end-users just get stable and secure versions. The most recent, most secure variant is constantly on the WordPress.org download page. You should be running the latest launch to secure your website and never be afraid of upgrades!
Step 2: Create Database & Username
The easiest method to create a database and username is through the cPanel.
Go back to cPanel again, look for MySQL® Database Wizard under the section of Databases.
You can give any name to the database.
When you click the Next Step and create a new Database User.
Never forget to write your details in your notepad. Many people don't jot down the essential details that will help us connect with WordPress like this:
Step 3: Edit wp-config.php
When you unzip the downloaded WordPress zip file, find wp-config-sample.php and open with Atom Editor — you can use any editor.
We need to edit that file and change its name to wp-config.php. So load wp-sample-config.php in your text editor and make some changes.
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
- Change database_name_here with the name you defined previously, keeping the single quotes.
- Replace the username you defined in the last measure surrounded by single quotes.
- Change password_here your database password you defined in the last measure keeping the single quotes.
Note: Localhost can remain the same unless your host uses an alternative name.
Here is my wp-config.php
Now set up your secret keys. Simply visit this URL to generate your keys then copy them over to your wp-config file.
Here is how you should replace it:
When you conclude with the edits, make sure to rename the file as wp-config.php.
Step 4: Upload The Files Through FTP or cPanel
Start your FTP client and log in as I showed you with screenshots in the FTP Login Information section above.
Navigate the WordPress folder in the Local Site and drag it into the public folder. It'll be uploaded automatically.
Some people might not have a fast internet connection; you can compress the folder in a zip file and upload it to FTP or cPanel from File Manager.
Compress the WordPress files & folders since you made changes in wp-config.php.
You can use any software since I'm using Ubuntu 20.04 that has a built-in feature.
Wait until it's 100% completed and click the URL given below that will redirect you to the parent folder. Sometimes your file may not appear; refreshing the page does the trick.
Extract the file.
Make sure the files being extracted exist in the public_html folder or the folder of your website if you've added an addon.
Running The WordPress Installation Script
Now it's time to complete your WordPress installation.
Visit your path where you have uploaded your WordPress files. By doing so, you should be redirected to the installation screen and greeted with the WordPress setup page.
Insert your site name, admin username, a strong password, as well as your email address. Follow the on-screen instructions, and you should be done.