Deploy WordPress site on domain tutorial lesson 4

This is fourth lesson of our tutorial on Deploy WordPress site on domain. In previous articles we discussed about initial steps you should perform after installing WordPress on your domain. If you missed those articles then you can get the list below.

Deploy WordPress on domain tutorial

In this article we will discuss some very basics of SEO. This initial configuration of website is important. SEO is big topic. I will write separate course for it. In this tutorial we will focus on basic setting to keep your site going.

Also we will create some pages which are required on most sites. These are generic pages and are important for most websites.So before creating any content you can create these pages. Once created they do not need any modification.So lets get started.

Setting WordPress Permalinks

This is very important. Ideally you should set your permalink before publishing a single post or page. The permalink you choose should be used in future as well. You should not keep changing your permalink. That is why you should always make it future proof.

I have written an article on this topic. In that article I have explained every permalink setting WordPress offers. It also discussed best practices and mistakes while setting up your permalink. You should read the article and then set your permalink.

WordPress tutorial for beginners lesson 5

Creating robots.txt file

Once the permalinks are set it is time to create robots.txt file. This is very important file. It should be created in your server root directory (that is public_html directory or similar directory in which you installed WordPress).

This file controls which bots will crawl your site. It also controls which part of your website is crawled by bots and which are hidden. Bots are agents which gathers information about sites. Remember while securing site in previous lesson we restricted bad bots.

Google also uses bots to crawl (read your website). Based on information passed by Google bot Google ranks your site for search queries. You can create a blank robots.txt file in your server root and copy the content shown below.

User-agent: *

Disallow: /cgi-bin/
Disallow: /wp-include/
Disallow: /trackback/
Disallow: /wp-admin/
Disallow: /?comment_mail*

User-agent: MJ12bot
Disallow: /

User-agent: HTTrack
Disallow: /

User-agent: Mozilla/5.0 (compatible; Ezooms/1.0; ezooms.bot@gmail.com)
Disallow: /

User-agent: NinjaBot
Allow: /

User-agent: *
Allow: /

Sitemap: https://domain.com/sitemap_index.xml
Sitemap: https://domain.com/sitemap-index-image.xml

Only thing you need to change in above file is domain.com. You should replace domain.com with your own domain name. Note we are disallowing for few user agents and allowing for others. Also some section of sites we are disallowing.

The Sitemap line is very important. This is basic step towards Search Engine. The two URL after sitemap line is location of your sitemap file. As of now your site does not have any sitemap file. It will be created in later lesson. In case you want to know about Sitemaps then you can read below article.

Why Sitemaps are important for your site?

Verify Site Indexing

I have also explained this setting in WordPress tutorial for beginner. Since it is short setting I am reproducing the content here. While installing WordPress you can hide your website from Search Engines like Google.

This is very important to revisit this setting. Your website will not perform in Search Engines if this setting is on. To verify this setting go to Reading option in WordPress Dashboard.You should uncheck below option. The option Discourage Search Engines from indexing this site should not be checked. It should be as shown in below image.

wordpress-search-engine-visibility

After making sure the setting is as per below image save the settings. Now search engines can index your site.

Creating Mandatory pages

Now it is time to create some mandatory pages for your website. I also refer these pages as legal pages. These pages are required for all sites. So before creating any content you can create them for your website.

This will ensure yo have proper set up in place before official launch of the site. I have covered these mandatory legal pages and their importance in separate article. You can read the piece and decide which pages you want to create for your website.

Below pages I am referring as mandatory legal pages

  • Privacy policy
  • Refund Policy
  • Terms and Conditions

You can download Privacy Policy , Refund Policy and Terms and Conditions from that article for free as well. So you do not have to worry about these confusing pages and concentrate on creating core content of  your website.

Article link on mandatory legal pages

Next Steps

Now it is time to concentrate on some important things like

  1. Making your website social
  2. Search Engine Optimization of your site
  3. Improving speed of your website
  4. Creating your website
  5. Making money from your website

So far we have discussed general steps required by all websites. But from here on things will get different. For example eCommerce site will have different configuration and setup than a blog. So I will write different courses on these website types.

Also above I mentioned about Making your website social and search engine optimization of your site. These two topics are broad topics so these will also be covered in separate tutorial. Other topics mentioned there as well will be topic of separate course.

All the courses are listed on below link. You can read them in sequence of your liking or the oder they are listed on the page. At the end you will have an awesome website.

WordPress Online Course link

Leave a Reply

Your email address will not be published. Required fields are marked *