# No sitemap detected

> Sitemaps help Google discover and index all pages on your site, especially important for large sites, new sites, or sites with pages that are not well...

Source: https://seocode.io/checks/sitemap-recommended

[All checks](https://seocode.io/checks) / Technical

A info-level technical check, run on every pull request and every CLI run.

Info `sitemap-recommended`

In SEOCode's checks since 9 May 2026

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Read the docs](https://seocode.io/docs)

## Why this matters.

Sitemaps help Google discover and index all pages on your site, especially important for large sites, new sites, or sites with pages that are not well linked internally. Google recommends submitting a sitemap via Google Search Console.

Runs on `.html` · Advisory checks point at an improvement. They never block a merge.

## How to resolve it.

Create a `sitemap.xml` at the root of your domain (https://yourdomain.com/`sitemap.xml`) and submit it in Google Search Console. Reference it in your `robots.txt`: Sitemap: https://yourdomain.com/`sitemap.xml`

**SEOCode writes this fix for you**

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.

## Where this comes from.

- [01 · Overviewdevelopers.google.com](https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview)

## Related checks.

Crawling, indexing, rendering and the directives that can take a page out of search.

- [01 · Missing lang attribute on <html> Critical The lang attribute on the <html> element tells search engines and screen readers what language the page is in.](https://seocode.io/checks/missing-lang)

- [02 · Missing viewport meta tag Critical Without a viewport meta tag, mobile browsers render the page at desktop width, causing poor mobile UX and hurting mobile rankings.](https://seocode.io/checks/missing-viewport)

- [03 · Missing charset declaration Warning Without a charset declaration, browsers may misinterpret the page encoding, causing garbled text.](https://seocode.io/checks/missing-charset)

- [04 · Missing canonical tag Warning Without a canonical tag, search engines may index duplicate versions of your page (e.g., with/without trailing slash, with query params).](https://seocode.io/checks/missing-canonical)

- [05 · noindex directive detected Critical A meta robots noindex tag was found.](https://seocode.io/checks/accidental-noindex)

- [06 · Missing favicon Info A favicon improves brand recognition in browser tabs and bookmarks.](https://seocode.io/checks/missing-favicon)

[All 41 technical checks](https://seocode.io/checks#technical)

## Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Get a website audit](https://seocode.io/audit?from=checks-cta)

Free for public repositories · no credit card
