title: Creating a sitemapindex file using sitemap.txt
body: <p>Using the XML sitemap, we can create a <code>sitemap.xml</code> file: </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;sitemapindex&gt;
   &lt;sitemap&gt;
    &lt;loc&gt;https://www.example.com/0.xml&lt;/loc&gt;
   &lt;/sitemap&gt;
   &lt;sitemap&gt;
    &lt;loc&gt;https://www.example.com/1.xml&lt;/loc&gt;
   &lt;/sitemap&gt;
  &lt;/sitemapindex&gt;
  </code></pre>
  
  <p>But how do we achieve the same using <code>sitemap.txt</code> file? Do we include it in <code>robots.txt</code>?</p>