Webflow sync, pageviews & more.
NEW

How can I automatically update and add a tag to my sitemap in Webflow every time I publish my site, without having to edit it manually? Are there any integrations, plugins, or custom code options to automate this process? Thank you.

TL;DR
  • Disable Webflow’s auto-generated sitemap in SEO settings and host a custom sitemap.xml externally.
  • Use Webflow CMS API with Zapier, custom scripts, or CI/CD tools to automate sitemap updates and include custom tags, then submit the sitemap URL in Google Search Console.

Webflow’s built-in sitemap does not currently support automatic tagging or dynamic updates beyond listing static and CMS pages. However, you can automate sitemap customization using external tools and workarounds.

1. Understand Webflow’s Native Sitemap Behavior

  • Webflow auto-generates a sitemap at yourdomain.com/sitemap.xml when you enable Auto-generate Sitemap in SEO Settings.
  • This sitemap includes static pages and CMS Collection template pages, but you cannot customize tags (like <changefreq> or <priority>) through Webflow’s native interface.
  • There’s no Webflow setting to add custom tags or structure automatically at publish.

2. Disable Webflow’s Auto Sitemap to Use a Custom Version

  • Go to Project Settings > SEO and disable “Auto-generate sitemap”.
  • Upload a manual sitemap.xml to your Webflow site using a Custom Code Embed or host it on an external service (e.g., via AWS S3 or Netlify).

3. Automate Sitemap Generation with External Tools

To dynamically update your sitemap with tags, you’ll need to use external automation. Options:

  • Zapier + Webflow CMS:

  • Use Zapier to trigger on new Webflow CMS item publish events.

  • Add/update entries in an external sitemap file hosted elsewhere.

  • You can attach custom <priority> or <changefreq> tags programmatically.

  • Custom Script + Hosting:

  • Set up a cron job or script using Node.js, Python, or PHP on an external server (like Vercel or Firebase).

  • Use the Webflow CMS API to fetch all CMS entries regularly.

  • Rebuild the sitemap.xml file on each change and upload it to a static host.

  • Add custom tags (like <lastmod> or <priority>) per URL.

  • Use Uptime or GitHub Actions:

  • With GitHub Actions or CI/CD workflows, you can auto-generate a sitemap when changes are pushed to a linked headless CMS or backend, if you're using Webflow as a frontend only.

4. Setup Google Search Console to Reference Custom Sitemap

  • Once your custom sitemap is accessible via a fixed URL (like yourdomain.com/custom-sitemap.xml), go to Google Search Console and submit the custom URL under Sitemaps.

Summary

Webflow does not support auto-tagging or editable sitemaps out of the box. To achieve dynamic updates and tagging, disable the built-in sitemap, use the Webflow CMS API with custom scripts, or automate updates via Zapier or server-side tools. Then host and submit your custom sitemap.xml externally for SEO purposes.

Rate this answer

Other Webflow Questions