Views:
Today we are discussing a great and useful post on adding custom robots.txt file in blogger blog.A custom robots.txt file is a simple txt file in which the website owner use to write the commands for the web crawlers to what to crawler or not.
That commands are written in different coding which can only be read by web crawlers. We can allow and disallow search crawlers to what area of our blog they have to crawl and what to not. It is one more step to make blog more SEO friendly. In old blogger interface there is not any option to add this txt file but in Blogger's new interface we can add it easily and I will guide you how to do it easily. So lets start this tutorial.
Enabling Robots.txt File :You can Check Your Blog Robots.Txt File by this link:http://www.yourdomain.com/robots.txt
So, This process is so easy just follow the simple steps below.
- Go To Blogger >> Settings >> Search Preferences
- Look For Custom Robots.Txt Section In The Bottom and Edit It.
- Now a check box will appear tick "Yes" and a box will appear where you have to write the robots.txt file. Enter this:
User-agent: Mediapartners-GoogleUser-agent: *Disallow: /search?q=*Disallow: /*?updated-max=*Allow: /Sitemap: http://www.yourdomain.com/feeds/posts/default?orderby=updated
The first line "User-agent: Mediapartners-Google" is for Google AdSense. So if you are using Google AdSense in your blog then remain it same otherwise remove it.
- Click "Save Changes".
- And You are Done! Now Lets take a view on the explanation of each of the line
User-agent: * : Here the User-agent is calling the robot and * is for all the search engine's robots like Google, Bing etc.
Disallow: /search?q=* : This line tells the search engine's crawler not to crawl the search pages.
Disallow: /*?updated-max=* : This one disallows the search engine's crawler to do not index or crawl label or navigation pages.
Allow: / : This one allows to index the homepage or your blog.
Sitemap : So this last command tells the search engine's crawler to index the every new or updated post.
You can also add your own command to disallow or allow more pages. For Ex: if you want to disallow or allow a page then you can use this commands:
To Allow a Page :
Allow: /p/contact.html
To Disallow:
Disallow: /p/contact.html
I hope you can learn to add robots.txt file in your blogger blog! If you face any difficulty then please let me know in comments. Its your turn to say thanks in comments and keep sharing this post till then Peace, Blessings and Happy Adding!
best article about trick
ReplyDeletehttps://androidep.com/zong-internet-setting/
best article about zong mobile setting Zong Mobile setting
ReplyDelete
ReplyDeleteZong Mobile setting
Daftar Situs Judi Online Dengan Permainan Server Asia.
ReplyDeleteDaftar agen bola terpercaya adalah Situs Website Yang Merupakan Informasi Seputar perjudian, Promo, Event, Cashback, Komisi, Dan Hal Yang Berbau bagi pecinta judi online. Daftarkan Dirimu Disini, Menangkan JACKPOT setiap membeli Jackpot, Dan Coba keberuntungan kamu Disini....
Daftar Sekarang Situs Poker Idn Dengan Promo Bonus menarik New Member, Bonus Deposit Harian, Komisi Mingguan, Menangkan JACKPOT Jutaan Rupiah. Dengan Server Poker Idn Kamu Juga Bisa Bermain Melalui Versi Mobile Android Atau Ios, Karena Tampilan Ini Memiliki Tampilan Friendly Dan Ramah.
Daftar Juga Agen Bola Terbaik Di Asia, Dan Tampilan yang ramah likungan Dengan Tampilan Server Idn Dan Juga Server Playtech. Permainan yang sangat manarik dan terpopuler di asia, kamu bisa bermain permainan Slot Gratis Disini Sebelum Bergabung Di Situs Judi Bola.