← Back to the guides

Help search find the pages

Create a sitemap that describes the site you actually published

List canonical, reachable pages and understand what sitemap submission can and cannot do.

A sitemap is a way to tell search engines about URLs you want them to know about. It is useful for discovery, but it does not force indexing or improve a page merely by listing it. The file should reflect the actual public site rather than a collection of every address your software can generate.

Choose the intended public URLs

Include canonical pages that are useful and publicly available. Use the correct HTTPS domain and consistent URL format. Do not accidentally publish a sitemap containing localhost addresses, a temporary preview hostname, administrative paths, or pages that are not meant to appear in search.

Check the treatment of paginated indexes and article pages. Each genuinely distinct index page can have its own address, while filter combinations may be browsing states rather than separate content destinations. Avoid inventing many nearly identical URLs solely to make the sitemap larger.

Generate the file from the content system

For a static site, create the sitemap as part of the build from the same set of routes that produces the HTML. This reduces the chance of forgetting a new article or listing a page that no longer exists. A CMS may provide equivalent functionality through its publishing tools.

Use valid XML and escape characters appropriately. Absolute URLs should identify the real location of each page. If you include optional information such as modification dates, make sure it reflects meaningful content changes rather than automatically claiming that every page was updated on every build.

Check the public file and its entries

Open the deployed sitemap URL directly and verify that it returns the expected content rather than an error page or a redirect loop. Sample article URLs from the file, including nested routes. A successful local build does not prove that every path is configured correctly on the chosen host.

Check that pages intended for indexing are not accidentally blocked or marked noindex. The sitemap, robots rules, canonical information, and actual page behavior should describe a coherent intention. Listing a page in the sitemap does not override conflicting instructions elsewhere.

Submit through the appropriate property

Use your own verified Search Console property and the sitemap submission interface. Confirm that the property covers the domain or URL prefix you are publishing. Follow the current verification instructions rather than assuming that an advertising publisher ID also verifies search ownership.

Read any reported fetch or parsing errors and fix the underlying problem. Repeated submission is not a substitute for resolving an inaccessible file. Discovery and indexing take place on the search engine's schedule, and submission does not guarantee that every listed page will be selected.

Keep the sitemap aligned with changes

Rebuild or refresh the file when articles are added, moved, or removed. Remove obsolete entries and maintain appropriate redirects for genuine moves. Do not leave old deployment files behind if they conflict with the current content inventory.

Use sitemap reports as one diagnostic input alongside actual page inspection. A technically readable sitemap does not establish that the content is useful, that visitors can navigate the site, or that rankings will improve. Those remain separate responsibilities of the publication.

Go to the source

Policies and product details can change. Check the official documentation before acting.

General educational information, not financial, tax, or legal advice. Examples are illustrative; results and earnings are not guaranteed.