How to Create Robot.txt Tool on your blogger Website

Post a Comment
How to Create Robot.txt Tool on your blogger Website

In this article, we are going to learn how to make a Robots.txt generator tool source for Blogger and WordPress. The process is very easy and simple to create a robot.txt generator on your website with this open source code. So this code helps to literally create a single page Robot.txt tool on a blogger. And it's a tool, so you don't have to constantly change it. This is a one-time installation on your website.

What is Robots.txt?

Robots.txt is a text file that allows/denies a search engine robot access to a website. And this text of the robot was very important for your site to be visible in the search engine. Your website ranking was based on this robot.txt file. This robot.txt gave the crawler access to read the website.

PASTE TO YOUR PAGE

<h2 class="has-text-align-center" style="font-size:20px; color:#000000; position:relative; top:10px;"><strong>Robots.txt Generator</strong></h2>



<div style="background:#fff; width:auto; padding:10px 0px ; border-color: #f0f3f4; border-radius: 8px; border: 2px #a6acaf dashed; position:relative; ">
  <center>

    <button onclick="blogger()" id="bloggerstyle" class="buttonpost"><b>Blogger</b></button>

  <button onclick="wordpress()"id="wordpressstyle"  style="background:#ffffff; "class="buttonpost"><b>WordPress</b></button>

<br/>
  <h6  class="spanpost"><b>Generate Robots.txt For <span id="website" style="color:#00ff00;">Blogger</span></b></h6><br/>


<span id="tagurl" style="font-size:12px; color:#a6acaf; position:relative; top:10px;">Enter Your Website URL with &#8216;https://&#8217;</span>

<input id="urlinput" class="inputpost" type="url" value="https://www.example.com"><br/>

<button onclick="generate()" id="generate" class="buttonpost" style="position:relative; top:5px; margin-bottom:15px;"><b>Generate</b></button>
    
    
    
    <div id="loadingi" style="display:none;">
  
<div style="text-align: center;"> 
  <!--Loading-->
Processing...</div>
  </div>
<textarea readonly id="robots.txt" style=" resize: none; display:none;width:280px; outline:none; font-size:13px; border-radius:10px; background:#fff; height:300px;" type="url"></textarea> <br/>
    
<!-- Ad Content -->
<ins class="adsbygoogle"
     style="display:inline-block;height:70px;width:100%;line-height:70px;"
     data-ad-client="ca-pub-8881158603467601"
     data-ad-slot="2511342689"></ins><script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
    <!-- Ad Content -->
    
<button id="copy.txt" onclick="copy()"  class="buttonpost" style=" display:none;position:relative; width:100px;"><b>Copy</b></button>

<button id="refresh_me" value="Reload Page" onclick="document.location.reload(true)" class="buttonpost" style="display:none; position: relative; width: 100px;"><b>Refresh</b></button>
    
  <span111 id="txtfile" style="display:none;" ># robots.txt generated by UNPLUG.com
User-agent: *
Disallow: /search/
Disallow: /blog/page/
Allow: /

Sitemap:
</span111>
  
  
<span121  style="display:none;"># robots.txt generated by UNPLUG.com
User-agent: *
Disallow: /search/
Disallow: /blog/page/
Allow: /

Sitemap:
</span121> 
  
  
<span122 style="display:none;"># robots.txt generated by UNPLUG.DOC.com
User-Agent: *
Allow: /wp-content/uploads/
Allow: /wp-admin/admin-ajax.php
Disallow: /wp-content/plugins/
Disallow: /wp-admin/
Disallow: /blog/page/
Disallow: /search/

Sitemap:
</span122>
 </center>
  </div>

  <style>
  #pathl{stroke:#444444; fill:none; stroke-width:2;stroke-dasharray:316;animation:path 1s infinite linear;}@keyframes path{to{stroke-dashoffset:632;}}
  
    .has-text-align-center{text-align:center}
	.buttonpost{color:#444444; outline:none;  background:#00ff00;  margin-right:5px; width:110px; height:30px; font-size:16px; border-radius:10px; margin-left:5px; }
	.spanpost{color:#444444; font-size:16px; }
	.inputpost{position:relative;width:80%;line-height:0.5em;font-size:12px;color:#455065;background:#ebeff3;margin-top:5px;padding:15px;border-radius:8px;border:none;outline:0;}
</style>
<script>
  <!--Main Script-->
  function blogger(){var e=document.querySelector("span121").innerHTML;document.getElementById("txtfile").innerHTML=e,document.getElementById("website").innerHTML="Blogger",document.getElementById("wordpressstyle").style.background="#fff",document.getElementById("bloggerstyle").style.background="#00ff00"}function wordpress(){var e=document.querySelector("span122").innerHTML;document.getElementById("txtfile").innerHTML=e,document.getElementById("website").innerHTML="WordPress",document.getElementById("bloggerstyle").style.background="#fff",document.getElementById("wordpressstyle").style.background="#00ff00"}function generate(){var e=[document.querySelector("span111").innerHTML+document.getElementById("urlinput").value+"/sitemap.xml"];document.getElementById("loadingi").style.display="block",document.getElementById("robots.txt").style.display="block",document.getElementById("urlinput").style.display="none",document.getElementById("tagurl").style.display="none",document.getElementById("generate").style.display="none",setTimeout(function(){document.getElementById("loadingi").style.display="none"},5e3),setTimeout(function(){document.getElementById("copy.txt").style.display="block",document.getElementById("refresh_me").style.display="block"},5100),setTimeout(function(){document.getElementById("like").style.display="block"},5100),setTimeout(function(){!function t(n){n<e[n].length&&function e(t,n,o){n<t.length&&(document.getElementById("robots.txt").innerHTML=t.substring(0,n+1),setTimeout(function(){e(t,n+1,o)},50))}(e[n],-5,function(){t(n+1)})}(0)},5100)}function copy(){document.getElementById("robots.txt").select(),document.execCommand("copy"),document.getElementById("copy.txt").innerHTML="<b>Copied</b>"}

</script>

This Post Is Give You Robot.txt free script on blogger add on your page and post and create page robot.txt for free so download script and add on your blogger website

Related Posts

Post a Comment

Subscribe Our Newsletter