How to Create Sitemap Page, Robot txt Setting, etc

In this article I will share some tips if you need a sitemap page so that it is indexed quickly in search engines when you using blogspot, and will also share some other scripts that you can find below.

How to Create Sitemap Page, Robot txt Setting, etc

This is html code for sitemap script page

<div id=”hlrpsb”>
<script src=””></script>
<script>var numposts = 13;var showpostdate = false;var showpostsummary = false;var numchars = 100;var standardstyling = true;</script>
<script src=””></script></div>
<div id=”rpdr” style=”font-family: arial, sans-serif; font-size: 9px;”>
<noscript>Oops! Make sure JavaScript is enabled in your browser.</noscript>
<style type=”text/css”>
#rpdr {background: url( ) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 5px 0px 0px 0px;line-height:14px;}
#rpdr, #rpdr a {color:#808080;}
#hlrpsb { }
.bbrecpost2 {
border-bottom: 1px #cccccc dotted; }

How to setting robot txt

Copy all the text in script box

User-agent: *
Allow: /
Disallow: /search
Sitemap: https://www yourURL me/sitemap.xml

Sitemap for Google Search Console

  • feeds / posts / default? orderby = UPDATED
  • sitemap.xml
  • atom.xml? redirect = false & start-index = 1 & max-results = 500
If there are a lot of articles above 500, you can use the following sitemap to submit to google search console


Page = 1 accommodates 150 articles but if you have 1500 articles use page = 1 to page = 10.

Ping the google search Sitemap

The method way is very easy, just replace example com with your blog url, copy the url below to your browser url bar, and click enter.

- Do not forget to replace (*) mark with (.)
- Replace with your url



The point is to delete default html from blogspot, when uploading a new template it doesn't bring the code or script that blogspot brings.

<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html> <html> <head> <b:skin><![CDATA[ body {background-color: #fafafa;} ]]></b:skin> </head> <body> <b:section class='main' id='main'> <b:widget id='Blog1' locked='true' title='Content Blog' type='Blog'></b:widget> </b:section> </body> </html>


The method is quite easy, first look for <body> and replace it with the following code and replace it with the following code

<body oncontextmenu='return false;' onkeydown='return false;' onmousedown='return false;' ondragstart='return false' onselectstart='return false' style='-moz-user-select: none; cursor: default;'>

DNS / IP Blogspot

Thus the contents of this article, may be useful for you.


Popular Posts