# Website doesn't show in Google search

**URL:** <https://answers.netlify.com/t/website-doesnt-show-in-google-search/24512>\
**Category:** Support\
**Tags:** deployment\
**Created:** [October 15, 2020, 7:44pm UTC](https://answers.netlify.com/t/website-doesnt-show-in-google-search/24512 "2020-10-15T19:44:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gregraven](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/gregraven/32/23821_2.png) [@gregraven](https://answers.netlify.com/u/gregraven)\
**Post date:** [October 16, 2020, 3:57am UTC](https://answers.netlify.com/t/website-doesnt-show-in-google-search/24512/4 "2020-10-16T03:57:09Z")

</div>

@Weilong Welcome to the Netlify community.

You don’t use an HTML file for your sitemap. You can use a sitemap.txt file, which is basically a text file with a listing of all the URLs in your site, or you can use a sitemap.xml file, which is a specially-formatted file with more information.

The TXT version should be easy to generate. The XML version requires special construction.

```auto
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>http://www.example.net/?id=who</loc>
    <lastmod>2009-09-22</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>http://www.example.net/?id=what</loc>
    <lastmod>2009-09-22</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>http://www.example.net/?id=how</loc>
    <lastmod>2009-09-22</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
</urlset>

```

You can build it yourself or use one of the many free online generators or use the Netlify plugin (assuming you can figure out how to set it up), etc.

Either way, you then include the path to your sitemap in your robots.txt file, and register your sitemap file with Google, Bing, etc.

For more information, see:

> **[sitemaps.org - Home](https://www.sitemaps.org/index.html)**
>
> The Sitemaps protocol enables webmasters to information earch engine about pages on their site that are available for crawling.

---

_[View the full topic](https://answers.netlify.com/t/website-doesnt-show-in-google-search/24512)._
