{"article":{"id":33961355371667,"url":"https://webflow.zendesk.com/api/v2/help_center/en-us/articles/33961355371667.json","html_url":"https://help.webflow.com/hc/en-us/articles/33961355371667-Create-a-sitemap-in-Webflow","author_id":1513309934161,"comments_disabled":true,"draft":false,"promoted":false,"position":3,"vote_sum":0,"vote_count":0,"upvote_count":0,"downvote_count":0,"section_id":33776368446355,"created_at":"2024-10-01T14:09:18Z","updated_at":"2026-09-08T23:17:25Z","name":"Create a sitemap in Webflow","title":"Create a sitemap in Webflow","source_locale":"en-us","locale":"en-us","outdated":false,"outdated_locales":[],"edited_at":"2026-08-19T17:18:26Z","user_segment_id":null,"permission_group_id":1500000334941,"content_tag_ids":[],"label_names":["wfw-seo"],"body":"<h2 class=\"wf-doc-subtitle\" id=\"h_01JV9XPT2BK25YW2WWDVMKH8ZE\">Create and submit a sitemap for your Webflow site.</h2><p>Similar to a table of contents, a sitemap is a page that contains links to various pages of your site which search engines and site visitors use to access your site’s content. Search engine crawlers follow the paths provided in the sitemap to index site pages and make them available in search engine results. </p><p>When you host your site with Webflow, you can automatically generate an XML sitemap or add your own. </p><p>To learn more, check out <a href=\"https://webflow.com/blog/seo-and-webflow-the-essential-guide\">SEO and Webflow: the essential guide</a>. </p><h2 id=\"how-to-auto-generate-a-sitemap\">How to auto-generate a sitemap</h2><p>Webflow’s auto-generated sitemap feature automatically generates a <code>sitemap.xml</code> for your site and updates it each time you publish your site. </p><p>For sites with <a href=\"https://help.webflow.com/hc/en-us/articles/33961240752147\">Localize</a> enabled, the auto-generated sitemap includes hreflang tags for all static and dynamic pages on your site to help search engines understand the available language and region variants of your site content. <a href=\"https://help.webflow.com/hc/en-us/articles/33961235675155#sitemap-hreflang-tags\">Learn more about sitemap <code>hreflang</code> tags</a>.</p><p>Each URL in your sitemap now includes a <code>&lt;lastmod&gt;</code> tag, showing the date and time that page was last published. The timestamp updates automatically each time you publish changes to that page, but you'll need to republish your site before the updated timestamp appears in the sitemap.</p><p>To enable the auto-generate sitemap feature: </p><ol>\n<li data-list-item-id=\"e81fea6d706aa8b8992f43b22e958fe71\">Visit <strong>Site settings</strong> &gt; <strong>SEO</strong> tab &gt; <strong>Sitemap</strong> section</li>\n<li data-list-item-id=\"ee40edc15ba55bbf7e0de52f7c33a1bb4\">Toggle <strong>Auto-generate sitemap</strong> to “<strong>Yes</strong>” to enable the auto-generated sitemap</li>\n<li data-list-item-id=\"e8f7b4e909e640c8c02e342160db98d45\">Click<strong> Save changes</strong>\n</li>\n<li data-list-item-id=\"e5ac66cc06c167dbdceaf49652d02dce2\">\n<strong>Publish</strong> your site</li>\n</ol><div class=\"wf-callout-note\"><div class=\"wf-callout-text\">\n<p>Note</p>\n<p>It isn’t possible to delete the <code>/sitemap.xml</code> page once you’ve created your sitemap and published your site. </p>\n</div></div><h2 id=\"how-to-add-a-custom-sitemap\">How to add a custom sitemap</h2><p>If you prefer, you can <a href=\"https://support.google.com/webmasters/answer/183668?hl=en\">write your own custom <code>sitemap.xml</code></a> and add it to your Webflow site. </p><p>Note that if you use a custom sitemap for sites with <a href=\"https://help.webflow.com/hc/en-us/articles/33961240752147\">Localize</a> enabled, you’ll need to manually add hreflang tags for each page, or consider custom code alternatives. <a href=\"https://help.webflow.com/hc/en-us/articles/33961235675155#sitemap-hreflang-tags\">Learn more about sitemap hreflang tags</a>.</p><p>To add your own custom sitemap to your site: </p><ol>\n<li data-list-item-id=\"ecea3b4b17593e145f0ae80b150499d65\">Visit <strong>Site settings</strong> &gt; <strong>SEO</strong> tab &gt; <strong>Sitemap</strong> section</li>\n<li data-list-item-id=\"e12b20f61723bc80eafc8319f2c7b7874\">Toggle <strong>Auto-generate sitemap</strong> to “<strong>No</strong>” to disable the auto-generated sitemap</li>\n<li data-list-item-id=\"ed738698179d1f0cb40395a975ef84188\">Paste your custom sitemap in the <strong>Custom sitemap.xml</strong> field</li>\n<li data-list-item-id=\"efbf9cb623e077bbb0c7e6672b67cc190\">Click<strong> Save changes</strong>\n</li>\n<li data-list-item-id=\"eae735f8f2ea8736d3be35506e9e1912f\">\n<strong>Publish</strong> your site</li>\n</ol><div class=\"wf-callout-important\"><div class=\"wf-callout-text\">\n<p>Important</p>\n<p>Whether you create or auto-generate your sitemap, Webflow automatically adds your sitemap.xml address to <a href=\"https://help.webflow.com/hc/en-us/articles/33961368603539#how-to-generate-a-robots-txt-file\">your site’s robots.txt file</a>. If you manually add your sitemap to your site’s <code>robots.txt</code> file, the file will contain 2 sitemaps for search engines to crawl.</p>\n</div></div><div class=\"wf-callout-note\"><div class=\"wf-callout-text\">\n<p>Note</p>\n<p>It isn’t possible to delete the <code>/sitemap.xml</code> page once you’ve created your sitemap and published your site. </p>\n</div></div><h2 id=\"how-to-customize-the-root-domain-in-your-sitemap.xml-address\">How to customize the root domain in your sitemap.xml address</h2><div class=\"wf-callout-note\">\n    <div class=\"wf-callout-text\">\n      <p>Note</p>\n      <p>\n        Removing the default <code>sitemap.xml</code> address from your site’s\n        <code>robots.txt</code> file requires a \n        <a href=\"https://help.webflow.com/hc/en-us/articles/33961220134035-Upgrade-your-Site-plan\">paid Site plan</a>.\n      </p>\n    </div>\n  </div><p data-prosemirror-content-type=\"node\" data-prosemirror-node-name=\"paragraph\" data-prosemirror-node-block=\"true\" data-pm-slice=\"1 3 []\"><span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\">If you use a reverse proxy to connect multiple Webflow sites to a single domain, you can remove the default sitemap.xml address and add your own to your sites’ </span><a href=\"https://help.webflow.com/hc/en-us/articles/33961368603539-Disable-search-engine-indexing#01JGPQHKSCSFVTH30K5X595NA8\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"link\"><span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\">robots.txt file</span></a><span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\">. This helps search engines understand that your sites belong to the same domain. </span></p><p data-prosemirror-content-type=\"node\" data-prosemirror-node-name=\"paragraph\" data-prosemirror-node-block=\"true\"><span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\">To remove the default sitemap.xml address and add your own: </span></p><ol data-prosemirror-content-type=\"node\" data-prosemirror-node-name=\"orderedList\" data-prosemirror-node-block=\"true\">\n<li data-prosemirror-content-type=\"node\" data-prosemirror-node-name=\"listItem\" data-prosemirror-node-block=\"true\" data-list-item-id=\"e002d3646ff647818e4513607ad894c73\"><span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\">Go to <strong data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"strong\">Site settings</strong> &gt; <strong data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"strong\">SEO</strong> &gt; <strong data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"strong\">Indexing</strong></span></li>\n<li data-prosemirror-content-type=\"node\" data-prosemirror-node-name=\"listItem\" data-prosemirror-node-block=\"true\" data-list-item-id=\"ef3b100717c79fe88a5c228cd637a4869\">\n<span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\">Toggle <strong data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"strong\">Remove sitemap.xml from robots.txt </strong>to “<strong data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"strong\">On</strong>” to remove the auto-generated sitemap from your </span><span data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"code\">robots.txt</span><span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\"> file</span>\n</li>\n<li data-prosemirror-content-type=\"node\" data-prosemirror-node-name=\"listItem\" data-prosemirror-node-block=\"true\" data-list-item-id=\"e30fc59ba6f4dd86de97d1d29a1a320c3\">\n<span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\">Add your root domain’s sitemap reference to the <strong data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"strong\">robots.txt</strong> field (e.g., </span><code><span data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"code\">Sitemap: https://yourdomain.com/sitemap.xml</span></code><span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\">)</span>\n</li>\n<li data-prosemirror-content-type=\"node\" data-prosemirror-node-name=\"listItem\" data-prosemirror-node-block=\"true\" data-list-item-id=\"e68f0c74ed4d51a7fe18f996ae11227a8\"><span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\">Click <strong data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"strong\">Save</strong></span></li>\n<li data-prosemirror-content-type=\"node\" data-prosemirror-node-name=\"listItem\" data-prosemirror-node-block=\"true\" data-list-item-id=\"ee1b5ecf8b13cf074841d14b63e010a94\"><span data-background-custom-color=\"#d3f1a7\" data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"backgroundColor\"><strong data-prosemirror-content-type=\"mark\" data-prosemirror-mark-name=\"strong\">Publish</strong> your site</span></li>\n</ol><h2 id=\"how-to-submit-your-sitemap-to-google\">How to submit your sitemap to Google</h2><p>Once you’ve generated your sitemap, you’ll need to tell Google about your sitemap by submitting it to Google Search Console.</p><div class=\"wf-callout-good-to-know\"><div class=\"wf-callout-text\">\n<p>Good to know</p>\n<p>Google may automatically find and index your website through a link on another site, but verifying ownership of your site, submitting a sitemap, and manually requesting that Google index your site can typically speed up the process.</p>\n</div></div><p>To submit your sitemap: </p><ol>\n<li data-list-item-id=\"e6e6e71f4dcc7124b54fe499c9e892cef\">Open <a href=\"https://search.google.com/search-console/sitemaps\">Google Search Console</a>\n</li>\n<li data-list-item-id=\"ed5bf09b8511455f178509435cbaca12c\">Choose the property (website) you want to submit the sitemap for</li>\n<li data-list-item-id=\"e1ba8f200ea6b975541b40b0dafca00e4\">Type <code>sitemap.xml</code> into the input field</li>\n<li data-list-item-id=\"e1c30d6301fc6231ea54a2b2aefbed30b\">Click <strong>Submit</strong>\n</li>\n</ol>","user_segment_ids":[]}}