WordPress is obviously the most widely used site software these days and hence there are many new updates and innovations happening every day in it. There have already been many different ways to install WordPress on a blog, which can be done in one single click or by running a simple command in putty. But sometimes manual installation of a WordPress blog would be necessary when your hosting provider doesn’t offer the one click installations, for instance, when you add on domains in Cpanel.
Manual installation is sometimes better and secure than one click installations from other site software. So this article will make you learn and manually install WordPress blog on any kind of web hosting provider. It is important to make sure that your web hosting provider supports WordPress and is willing to assist you with any future problems. I have had a positive experience with OrangeWebsite web hosting who also offer one-click WordPress installation service.
- 1 Manually Install WordPress Blog on Cpanel:
- 2 Manually Install WordPress Blog via FTP
Manually Install WordPress Blog on Cpanel:
Step 1: Download WordPress Installation Package
Initially, you need to download the WordPress installation package from the official download page. Always go for the latest version of WordPress.
Step 2: Create a new database for WordPress
In order to create a new WordPress site, you need to have a new database. To access the database you need to login to the Cpanel. You might get little confused at this point, so be careful while performing them. Follow the below screenshots for easy understanding.
Login to your Cpanel and scroll down to the databases section. Click the MySQL Database Wizard.
You will land on a page where you can create the database with whatever name you want. Then you will be asked to enter the database username in step 2.
The next step is to give privileges to the user you just created. Select all privileges and click on next step.
You are done! Now you have created a new database with database name, database user and database password, which you need to save for further use.
Step 3: Uploading WordPress file into your server
Now you need to upload the WordPress installer package (which you previously downloaded) into the server. This can be done in many different ways. You can either directly upload it into the Cpanel, use software like Filezilla to upload the files or upload the compressed file into Cpanel and unzip it. But where will you upload it? You need to do it in the root i.e. public_html. You should then edit the wp-config file to connect the site to its database.
If you are creating a new site in a normal Cpanel, upload the wordpress.zip file in the /public_html directory and then unzip it. Extract the files into the public_html directory only.
Note: If you are installing wordpress on an add-on domain, then you need to upload the file in the new domain directory i.e., /public_html/add-on-domain-name.
Step 4: Editing the wp-config file
Once you are done with the upload, you need to edit the wp-config file in the public_html directory itself. Right click on wp-config and select the edit option.
You need to make only the following changes: (Do not touch anything else)
Replace the above database name, user, and password with the ones you just created.
Step 5: Executing WordPress manual installer script
We have done all the important things you need to do to install WordPress manually. Now all you need to do is simply run the WordPress installer script and give the name of your site, username, and password as your login credentials.
Go to the URL: http://new-domain.com/wp-admin/install.php
(Replace new-domain.com with your new domain)
Once you click the Install WordPress button, your wordpress setup is complete. To visit your dashboard, go to new-domain.com/wp-admin or new-domain.com/wp-login.php
Manually Install WordPress Blog via FTP
You just need to follow the above steps for the most part of it, but instead of Cpanel, you have to log in to your server files using the FTP credentials given by your hosting provider.
So here are the steps:
- Login to your server. If you are doing it for the first time, I would recommend Windows users to use WinSCP software and Mac users to use Cyberduck. (I personally use them)
- Download the WordPress files from the official site.
- Upload the files to the public folder.
- Create a database and save the database name, username, and password. You can do it from PhpMyAdmin (if available) or use external software like Sequel Pro.
- Point the domain to the server.
- Open your site, you will run through steps for installation.
- You can add submit the database details directly or edit the wp-config file (as shown above).
That’s it! You have successfully installed WordPress manually and now ready to use it. Once you are done with it, do all the basic settings and install necesarry plugins. Here are some articles which might be helpful:
This is a time taking process when compared to single click installation scripts, but very effective at times. If you have any doubts regarding this, feel free to leave a comment, I will get back to you!