WordPress is a good tool to start your blog and you can also convert it into a CMS. This really is a beginner guide which aims to teach you install a wordpress at your hosting. Installing wordpress at your host is quite an easy job to be done and most faous hostings which people use are of godaddy, hostgator, bluehost or arvixe.
Pre-requisites you will need:
- WordPress CMS downloaded from WordPress.org – Download WordPress
- Hosting either shared or dedicated – You can get from hostgator, godaddy or from anyone.
- Requirements of hosting:
- It can be a limited bandwidth or limited disk space hosting, but it must have SQL database options included in it.
- Famous hosts now a days do tell about WordPress compatibility so you can ask them once you singup.
- After you have purchased a hosting and a domain name, you will need access to the cpanel, normally that is located at the path www.yoursite.com/cpanel and your hosting provider will give you username and password to login into the cpanel.
Installing WordPress using the cpanel:
It is very easy and you just need to follow these steps to get the things done right.
- Login to the cpanel of your hosting, as I told you before it must be located at www.yoursite.com/cpanel or else https://www.yoursite.com:2083
- Press Ctrl+F and locate MySQL Database Wizard. We’ll create a sql database here and will assign a user to it, which will be used by the server to save wordpress posts, pages and meta data into the database created. Thus, open MySQL Database Wizard.
- At the first step add the database name, it can be anything, suppose if your account username is wamiqali, then this name can be like
- wamiqali_wpdata so, its up to you that how you select a name.
- At the next step you will need to write the username, which again can be anything. Suppose the username of cpanel account is wamiqali then you can select a username like wamiqali_wpuser, so again that is up to you that which username you select for the database. Write the password or use password generator(Recommend Password Generator). (Note: Please remember or note down database name, database username and password as later you are going to need it whilte installing wordpress)
- Go to next step and then select all the privileges which you wish to grant the user, normally you will need to select the all and grant them to user. After this press next and the user will be added to the database with right permissions. From here your database part is over.
- Now again you need to go back to home of your cpanel, head your browser to www.yoursite.com/cpanel and press ctrl+F to find File Manager since you will be uploading the downloaded wordpress zip file to your hosting using the filemanager.
- After opening the File manager just go to public_html (From the left pane of navigation) and upload the zip file (You will find upload option in top menu) of the WordPress which you has downloaded previously from WordPress.org.
- After having the file uploaded you will need to decompress the wordpress.zip, to decompress select the wordpress.zip file and press decompress or extract present in the top menu of the File Manager.
- A folder will be created there with the extracted files, you will need to move the files present in that folder named as wordpress back to parent directory named as public_html. For that you can select all the files in wordpress folder and then you can use move in the top menu of the filemanger. Just give the move path pointed to the public_html. Be sure that you have moved all the files to public_html of your hosting as it is the root folder which will be executed everytime a user opens www.yoursite.com
- You just need to rename wp-config-sample.php present in public_html to wp-config.php and then edit the file. Again you can edit the file by selecting it and then clicking on edit present in the top menu of the file manager.
- In this file you need to add the database name, database user and password (Give the same as you noted them before while creating database using the mySQL database wizard), locate “DB_NAME” , “DB_USER” and “DB_PASSWORD” and fill in your data base name, user and password which I assumed to be: wamiqali_wpdata and wamiqali_wpuser, so your case might be different, just fill the fields
- After filling the fields, go to WordPress Secret keys generator. And Copy all the code present in that page, then move back to your wp-config.php file which you have opened for editing purpose and locate the lines shown in the image with the copied code. So now you have added the database information to the wordpress and also the secret keys for the security reasons. Just save the wp-config.php file.
Finishing the installation:
- You are done now, just head to the www.yoursite.com and it will show you the installation page.
- Select the blogname, and provide your email address. At the next step provide your username and password (i) which will be used to login to your dashboard.
- After having the wordpress installed you can visit the site at www.yoursite.com and dashboard at www.yoursite.com/wp-admin, thus start to compose posts and publish to online world.
- If this tutorial really helped you then consider subscribing to talk of web.