The UI in this lesson may seem different if you've enables the Style Panel Beta! This content will be updated soon!
This video features an old UI. Updated version coming soon!

When you set up custom domain hosting with Webflow, you can automatically generate an XML sitemap — one key element of your site’s SEO. An XML sitemap shows Google’s spiders how and where to crawl your site. They are located at your site's root level:

Get 13 need-to-know tips on website SEO! Read SEO and Webflow: the essential guide

In this lesson

Creating and submitting a sitemap for your Webflow project is easy and can be done in two steps:

  1. Generating your sitemap
  2. Submitting your sitemap to Google

Generating your sitemap

You can enable the auto-generated sitemap of each project in the Project settings of that project. The setting is located in Project settings > SEO tab > Sitemap section

Make sure to save the changes and publish your site.

Once you've done that, Webflow will automatically generate the sitemap.xml of that project and update it each time you publish your site.

Custom sitemap

If you prefer to write your own custom sitemap.xml, you can and add that to your Webflow project.

  1. Disable the auto-generated sitemap
  2. Paste your custom sitemap.xml in the text area
  3. Save and publish

Submitting your sitemap to Google

Now, generating a sitemap alone isn't enough. You'll need to tell Google about your sitemap, and you can do that in one of two ways:

  • Add your sitemap in your site's robots.txt file
  • Submit the sitemap using the Search Console tools
Good to know

Add your sitemap in your site's robots.txt file

You can tell Google about your sitemap without leaving the comfort of your Webflow dashboard. Just type the path to your sitemap in your robots.txt file which is located right above the sitemap settings under Project settings > SEO under the Indexing section.

  • Sitemap:

Make sure to replace with the actual domain your site is published on.

Add a sitemap in the robots.txt file

Submit the sitemap using the Search Console tools

Alternatively, you can submit your sitemap through your Google Search Console.

  1. Go to the Sitemaps page in your Google Webmaster Tools dashboard
  2. Click the Add/Test Sitemap button
  3. Typesitemap.xml” into the input field
  4. Press Submit Sitemap
submit a sitemap to Google