We have already discussed about how to choose domain and hosting for the WordPress blog. Also the procedure to host the domain in hosting cpanel with an example of hostgator. To create blog or website we need to install WordPress on a hosted domain. Domain registration and hosting the domain name has explained in start a WordPress blog post. In hostgator cpanel we have fantastico software to install WordPress in one click. For manual WordPress installation we need to download WordPress latest version in WordPress.org. For dreamhost cpanel we can use one click installer to install WordPress.
Fantastic is software available in hostgator hosting cpanel. To install WordPress follow the below steps. If you doesn’t hosted your domain check out the Hostgator web hosting plans and create an account.
1. Login your hostgator cpanel using the login details can be received in your email which was specified while creating new hosting account.
Or you can login the hosting cpanel with the domain hosted on the hosting account. For example if you have hosted a domain myblog.com in hostagator. You can login the cpanel using the below URL http://myblog.com/cpanel. That is we can use /cpanel after the domain name in the url. Now you will see the login page type the username and password for the hosting account and hit enter. Now you have entered in to the cpanel of your hosting account.
2. Inside cpanel you have fantastico icon in softwares section. Just double click on fantastico icon.
3. Now choose the software as “WordPress” in fantastico and after you choose WordPress click on “new installation” link on the same page.
Now you will see the page like the below image. Here you should choose the location for the WordPress installation. WordPress software can be installed in main domain itself or in any directory of the main domain.
Ex ample Myblog.com is the main domain the WordPress can be installed myblog.com or myblog.com/blog where blog is the directory name we can use any name. The WordPress may be installed any directory we may change the homepage of the blog after the installation.
Next enter WordPress blog dashboard admin username and password for future usage. Enter the blog name and submit the details and finally click on finish installation. Now check the WordPress installed directory to see the WordPress blog. The WordPress database for this blog will be automatically generated in php my admin with help of fantastico. For example if you installed in main domain myblog.com check this domain you will see WordPress blog with hello world post default theme.
After the success full installation your blog should look like the below image. You can see the WordPress admin dashboard using WordPress installation directory /wp-admin. Example if WordPress installed in main domain then enter this URL http://myblog.com/wp-admin it will go to login page here type and enter username and password which you given during the WordPress install. You will see the WordPress admin dashboard with main elements in the left sidebar dashboard home, Posts, Pages, Comments, Users, Appearance, Plugins, Tools and network and Settings. The components and its usage have explained later.
First download latest version of WordPress in WordPress.org. Extract the zip file and upload all the files and folders available inside the extracted WordPress folder into the main domain. If you want to install sin sub directory first create the directory in the main domain using cpanel. Now upload all the extracted files and folders inside the directory Using ftp software. Filezilla is one of the ftp software used for uploading WordPress files in a specific directory of the domain.
Now we need to create database for this WordPress blog. Go to your hosting cpanel login procedure has explained earlier. Click on Mysql and databases icon. Here create new database user with all the usage privileges and create new database name also link the database name with created database user.
After uploaded the WordPress files and database creation now rename the wp-config-sample.php file into wp-config.php in the WordPress uploaded directory. Also edit this file and enter the database user, database name, database password in the wp-config file. This has been specified in the below screen shot.
You can also add WordPress keys to this wp-config file by visiting this url. Check the screen shot below to add auth key That’s all now run the WordPress installation file enter the sitename, wp-admin username, password and admin email and hit enter now the manual installation has finished.
The main difference between website and blog is website has static homepage, some other pages along with blog. But blog has dynamic homepage which is updated regularly fresh content will be shown at the beginning of the blog homepage.
WordPress is the blogging software. After the installation of WordPress software you will see blog homepage in the installation directory. We can change this blog into website using some settings available in the WordPress admin dashboard.
Login your WordPress dashboard using WordPress admin link. Here you will see the page like the below image.
Enter WordPress blog title and tagline this title and tagline shown in your blog header and this will be displayed in the search results page during any search query entered in the search engine like google.com.
Enter the WordPress installation directory. If you need your blog homepage is different location from the WordPress installation directory we can specify the blog homepage page in the specified column during the installation steps.
Here if you have used www. in front of domain name then non-www version of the domain name will be redirected to the www version otherwise the www version of the domain name will be redirected to the non-www version. Each domain has www and non-www version of urls for the same domain name. Example http://myblog.com or http://www.myblog.com .
How to Use WordPress as website?
To use WordPress as website Go to reading settings options available under the settings tab in the WordPress admin dashboard.
Here you can setup front page as static page and choose any one page in the drop down. This selected page will be displayed as a homepage of this WordPress web site. And for blog homepage we can choose some other URL in the dropdown which has showed in the below screen shot. This selected URL will be the homepage of the blog.
For example in the wp admin dashboard we should create two page with the title ‘welcome to the website’ and ‘Blog’. To display welcome to the website page as website Homepage we should select front page as static page in the reading setting and choose homepage as welcome to the website in the drop down and Blog page as blog in the drop down. Shown in the below image.
Go to Permalinks link under settings tab in the wp-admin dashboard. There are four types of permalinks available in the WordPress installation. Those types are shown in the image.
- Day and Name
- Month and name
- Post name
- Category Based
The fifth type is the custom permalink. I preferred to use custom permalink as %postname%. This is good for the easy readability of the users.
During the design and and before the first post published on the site the website or blog should be blocked from search engine indexing because of the useless content available on the website during the site or blog design period.
This should be done using the Privacy settings available Under Settings tab in the wp-admin. This has been shown in the below image.
That’s all now the WordPress installation and basic set ups are over. Now you have WordPress blog with Hello world Post with default theme. The other important components of the WordPress blog or website which has been use to maintain and develop and publish content on your blog will be explained in the next Post.
This Post describes how to install WordPress in a self hosted domain using Fantastico(one click instal). and The manual WordPress installation procedure for hostgator Cpanel.
Also it will guide us some basic setups like blog Permalink settings, How to choose the WordPress installation as blog or website and the option to block this WordPress site from search engine indexing during the design and configuration of WordPress . Share your thoughts on comments section.