How can I auto-generate a sitemap on Webflow that includes CMS pages?

Published on
September 22, 2023

To auto-generate a sitemap on Webflow that includes CMS pages, you can follow these steps:

  1. Enable the sitemap functionality: Make sure the "Enable Sitemap" option is enabled in your project settings. Go to the Project Settings panel, click on the "SEO" tab, and scroll down to the Sitemap section. Enable the toggle switch to activate the sitemap feature.

  2. Ensure that CMS pages are included: By default, Webflow automatically includes all static pages in the sitemap. However, CMS (Content Management System) pages are not included automatically. To include CMS pages in the sitemap, you need to make sure they are set to "Include in XML sitemap."

  3. Set CMS pages to include in the sitemap: Go to your CMS Collection settings by clicking on the "CMS" tab in the left sidebar. Select the Collection that contains the desired CMS pages. Then, click on the "Collection Settings" button at the top-right corner. In the Collection Settings panel, click on the "SEO" tab. You will see an option called "Include in XML sitemap." Enable this option to include the CMS pages in the sitemap.

  4. Publish your site: After making the necessary changes, publish your site for the sitemap to be generated. Go to the Designer and click on the "Publish" button at the top-right corner. Once the site is published, the sitemap will be automatically generated with all the included pages, including CMS pages.

  5. Verify the sitemap: To ensure that your sitemap has been generated successfully, you can go to "www.yourdomain.com/sitemap.xml" in your web browser. Replace "yourdomain.com" with your actual domain name. This will display the XML representation of your sitemap, which contains the URLs of all the included pages, including the CMS pages.

By following these steps, you can easily auto-generate a sitemap on Webflow that includes your CMS pages. This ensures that search engines can properly crawl and index all the pages on your website, improving your SEO efforts.

Additional Questions:

  1. How do I enable the sitemap functionality in Webflow?
  2. Can I manually exclude specific pages from the sitemap in Webflow?
  3. Are there any ways to customize the sitemap generated by Webflow?