How to Install WordPress?
We all love WordPress for the features it provides. After all, it is the world’s most use framework. The reason for the high usage is primarily for its admin panel which even people with no background in coding can use easily. However, people generally get stuck in installing the application which is the inspiration for writing the article.
Installing WordPress is a piece of cake you follow simple steps and your basics are right. The WordPress documentation https://codex.wordpress.org/Installing_WordPress provides a good account of how to proceed and much of the matter in the article is borrowed from it. Simplified though!
Before installation: You should have the below information in hand before you proceed –
- Web Server: This is where the WordPress files will be stored. You should ideally have the complete access of the server and not just FTP credentials. FTP allows you to pass files to the server but does not allow you to make changes in the database which makes it ineffective for installation purpose.
- Knowledge of creating a database in Mysql: You should be able to create a database in Mysql which is a fairly simple task.
- Text editor: You will be required to enter some changes in the code and will need a text editor for this. A simple text editor like Notepad ++ will suffice.
There are many ways of doing this and we are not getting into each one specifically. Below we’ll be covering a generic step that each of the methods follows.
The process of WordPress Installation can be divided into 4 broad Steps:
- Moving the WordPress codes to server: You can download WordPress codes from https://wordpress.org/download/. After you have done the changes and the site is ready to be deployed, zip the file. It is these codes that will do the magic. You need to move them to the server and can use the Cpanel, FTP or any other mechanisms that you might find fit. Once uploaded extract the files.
If you are using WordPress just for the blog section of your website. You need to install it in the appropriate folder. Generally this is /public_html/blog/.
- Creating a database: Once the codes are uploaded to the server, you need to create a database for the WordPress. Look for something like MySql databases in your Cpanel. This is where a database is created.
On clicking the Cpanel will ask for the database name and maybe some other parameters.
Make sure you keep a note of the parameters enter as you will need them in the final stage of the process.
- Creating a user and mapping it to database: Each user (read website) will feed and take data from one database and so you need to create a user.
The Cpanel will ask for a name and password. After you are done with this, you will need to map the database and user. The below image will give clarity:
Of the three key points, database, user, and codes, two (user and database) are connected. We need to form the connection between codes and user and codes and database.
- Connecting the codes to database: The simplest way to proceed is to open the URL of the WordPress in the web browser for it to activate the process. For instance, if you are using WordPress just for the blog section of your website example.com, open example.com/blog in a browser.
This will take you through a Series of steps which you need to understand carefully.
- Language: Simply choose the language you want to work in and press continue.
- Instructions: WordPress will show you the series of instructions which after reading can press “Let’s go”.
- Database and user credentials: You will now be required to enter details of the database and the user you have created earlier. The two inputs are essential to make the remaining two connections talked of earlier.
You can leave the table prefix as it is. It simply means that the tables will start with the prefix wp_. Your server may have other databases too and this keeps up the differentiation.
Once you submit all the details and provided they are correct, you get the below message:
Click on run install to finish the installation process.
You will then be asked to enter some minor details that will reflect on the website. Save the details entered for back up.
The site title is the name of the website which will be reflected in multiple places depending on the coding done.
The username and the passwords are for the admin panel which you’ll need on regular basis.
Email address is required to send you notifications and warnings if any.
Once this is done the WordPress installation is done and you will get the below message.
The process of WordPress is very simple and all you have to do is follow the above steps.
Once the WordPress has been installed, the real work begins which can include theme selection or installation, Plugins installation, and other such settings.