WordPress is the most popular content management system in the world and you can use it to create a beautiful website or blog. It powers over 37% of all websites on the internet. The prime reason for that is the easy installation and operation of WordPress. This eliminates the requirement of any technical knowledge and hence anyone can easily create a website. The numerous plugins and themes decrease the complexity of the functioning of WordPress manifolds. Nowadays, a user is not required to install WordPress manually since it can be quickly installed via Softaculous or QuickInstall installer.
At present, the majority of the best web hosting companies allow you to install WordPress with just a few clicks. On the majority of the hosts, installing WordPress is a simple process that takes less than five minutes to complete. However, this article is crafted with an aim to help out those who want to install WordPress manually.
Things You Need Before Installing WordPress
The first and foremost step is to get a domain and a good web hosting. If you are already prepared with both things then just skip this part but if you aren’t then read along.
For domain, you can visit Namecheap since they provide domains pretty cheap. You can get a .com domain for less than $10 a year. Hosting, I highly recommend that you use Bluehost or Hostgator because they offer cheap web hosting at an affordable price. You can also get a free domain from these sites. Siteground is also a great option but their prices are a bit on the higher side.
Bluehost and Hostgator are one of the largest hosting companies in the world and their services are one of the best. If you are just starting out or an amateur, I would recommend you to go for Bluehost or Hostgator because of their cheap plans, reliable service, and great customer support.
With all the requirements out of our way, let’s move ahead and see how to install WordPress manually.
Step 1: Download WordPress
- Download the WordPress zip package to your computer or laptop. Go to the download section of WordPress.org
- Extract the downloaded files to a folder on your computer.
Step 2: Upload WordPress to Hosting Account
WordPress can be uploaded to your hosting account using 3 options. When you extracted the file in the previous step, you were left with a folder named WordPress.
These contents need to be uploaded to your hosting account’s file manager. This can be one in one of the three ways:
- via File Manager
- Upload via FTP
- Upload via SSH
For the sake of convenience, we will be using the File manager method.
Step 3: Create MySQL Database and User
Your WordPress sites will store its information in a database. Therefore, the first and foremost step is to create a database.
- Log into cPanel.
- In the Databases section, you must see different options depending on your host. But the main functionality remains the same. Click the MySQL Database Wizard icon.
- Click on Create a Database, enter the database name, and click Next Step.
- Then click on Create Database Users, enter the database user name and password, and click Create User.
- Now, Add the User which you just created to the Database which you created in the previous step. Select All the Privileges from the prompt box and click Next.
- Write down your database name, username, and password because you will need them later on.
Step 4: Configure wp-config.php
The wp-config.php file is probably one of the most important files in your WordPress installation. This file is located in the root of your WordPress file directory and contains your website’s database information and tells the WordPress application from which database to pull data. Take note that the contents of the wp-config-sample.php file are in a very specific order. Yes, it is order sensitive, rearranging the contents of the file may create errors on your blog.
So, the important question is, How do you create a wp_config.php file? Well, you can either create the file yourself, or you can let WordPress do it when you run the installation script.
Furthermore, to change the wp-config.php file for your installation, you will need this information:
- Database Name – The Name of the database used by WordPress
- Database Username – The Username used to access the above Database
- Data base Password – The Password used by the user to access the above Database
- Database Host – The name of the host of your Database Server. Other details such as a port number, Unix socket file path, etc. may be needed as well.
The steps below show the process when the directory for your primary domain is public_html.
1. Log in to cPanel.
2. In the Files section, you will see a few options. Click the File Manager icon.
3. From the left-hand navigation menu in File Manager, click public_html to open the folder in the right-hand panel.
4. Click on the Settings button found on the top right-hand corner of your File Manager to show a pop-up box on the screen.
5. In the pop-up box, check the box for Show Hidden Files (dotfiles), then click Save.
6. In the right-hand panel of the File Manager, locate the wp-config-sample.php file.
7. You need to rename your wp-config-sample.php to wp-config.php. To do this, Right-click on the file, select Rename, change the name of the file to wp-config.php, and then save the change.
8. Right-click on the wp-config.php file and select Edit.
9. A second pop-up box will appear, click the Edit button to continue to the file.
10. When the file opens, look for the following information:
/** MySQL database username */
/** MySQL database password */
- Replace the database_name_here with the name of your database.
- Replace the username_here with the username which you created above.
- Find and Replace the password_here with the password of the database that you created above.
Note: Remove all the spaces before or after your database name, username, and password.
When done editing, click the Save Changes button on the top right, and then Close to close the file and return to the File Manager.
Step 5: Run the Installation
Open a new browser window. Enter your domain address to run the installation script. You will be automatically redirected to either of the following URLs, depending on where you installed the script:
If you uploaded WordPress to the domain’s root folder i.e. if you uploaded the files in public_html, you should get redirected to:
However, if you installed WordPress to a subfolder of your directory, then the URL will be something like this:
Make sure you replace example.com in with your actual domain name.
Step 6: Complete the Installation
1. Once you access your correct WordPress URL in a browser, you will see a WordPress setup page prompting you to select your preferred language. Select the language as per your preference and click the Continue button.
2. You should now see a welcome page that says, “Welcome to the famous five-minute WordPress installation process!”. You will see the installation screen asking for various details. Just fill the form and then proceed to “Install WordPress”.
- Site Title – This can be changed at a later time.
- Username – This is the admin username for the site. I highly recommend using something other than ‘admin’, since using it can be easily guessed by a hacker. You can use a combination of your name and numbers or some other username that you want. Just try to avoid admin.
- Password– A strong password will be automatically generated for you, but you can choose your own. The strength indicator below the password field will let you know how secure your password is. You can set up your password accordingly.
- Your Email– Login information will be sent to this email address, so make sure it is an email address you have access to.
- Search Engine Visibility– If you want your website to show up in search engine results, leave this unchecked. If you do not wish your site to be indexed, then you can check this box. Though, it is not recommended to Turn off the Search Engine Visibility.
3. Click the Install WordPress button, and you should be taken to the final screen, which says, “WordPress has been installed. Thank you, and enjoy!”. That’s it, you have successfully installed WordPress. Now proceed to the next screen, it will display your username and password, which you set up earlier. This screen is used to log in to the WordPress admin dashboard.
Click on the login button and it will take you to your new Admin dashboard. From there on you can start building your site!
Congratulations! You have manually installed WordPress.
If you find this tutorial helpful, You can Thank me ❤ by sharing this article…
Also, do raise your problems in the comment section, I’d be happy to respond to them all.