How do I publish or unpublish a Webflow site?

Updated

Publish your site changes to see them live on the web — instantly!

Whether you're in your site or Site settings, you can publish your site to push changes to the web instantly, without the hassle of file and server management or version overrides. Webflow provides additional controls to make publishing seamless and straightforward — you can publish to a dedicated staging environment and preview your work before making it live, publish (and unpublish) Collection items individually and separately from the rest of your site so you don't affect any design works-in-progress, and set appropriate publishing roles and permissions for your team members to control who can and cannot publish your site or CMS items.

How to publish your site

You can publish site changes and updates from Site actions or Site settings.

Who can publish CMS items to production?

  • Enterprise and partners only — all roles except "reviewers," "designer (needs approval)," and custom roles without the "publish CMS items to production" permission
  • Other plans — all roles except "reviewers"

Who can publish the site to staging or production?

  • Enterprise and partners only — the default "site manager" and "designer" roles, as well as custom roles with site publishing permissions — which can be set to just staging or staging and production
  • Other plans — the default "site manager" and team members who have Can publish turned on

Publishing from Site actions or Site settings

By default, your site comes with a subdomain (e.g., yoursite.webflow.io) that you can use as a development or staging environment. For sites with Site plans, you can also add a custom domain (e.g., yourdomain.com) to use as a production or live environment — this means that your site is visible and public on the web. The publish modal menu in Site actions and Site settings lets you publish to both of these domains (i.e., the subdomain and the custom domain), so be sure to carefully choose your desired publish destination.

Important

Before you can publish your site to a custom domain (e.g., yourdomain.com), you must verify ownership of the domain.

To publish from Site actions in your site or from Site settings:

  1. Click Publish
  2. Check the domain(s) you want to publish to
  3. Click Publish to selected domains

Pro tip

You can quickly publish changes in your site with keyboard shortcuts. Press Shift + P to open the publish menu, double-check which domains are selected, and press Shift + Enter to publish to all selected domains.

How to save and publish individual Collection items

When you create a new Collection item or edit an existing Collection item, you can choose from various saving and publishing options. Learn more about saving and publishing Collection items.

Good to know

Custom roles for Enterprise customers and partners allow custom permissions to be set, including the ability to toggle on or off the "publish CMS items to production" permission.

How to unpublish your site

You can unpublish your site from any or all of your domains from Site actions in your site or from Site settings. Unpublishing works immediately and you can always republish your site by choosing the domain(s) and publishing again.

Note

If your site is showcased on Made in Webflow, you can't unpublish the site's staging domain — so the unpublish all option won't work. To unpublish it completely, first remove the site from Made in Webflow.

To unpublish a site on all domains:

  1. Go to Site settings
  2. Click the Unpublish icon

To unpublish a site from a single domain:

  1. Open your site or go to Site settings
  2. Click Publish
  3. Click Unpublish next to the domain you want to unpublish your site from

How to use the Webflow staging subdomain for testing and feedback

To test custom code or get feedback and approval on your site design, you can publish your site to the Webflow staging subdomain (e.g., yoursite.webflow.io) — without also pushing those changes out to your custom domain.

To publish to the staging subdomain without publishing to your custom domain:

  1. Open your site or go to Site settings
  2. Click Publish
  3. Check the Webflow staging subdomain (e.g., yoursite.webflow.io)
  4. Uncheck your custom domain
  5. Click Publish to select domains

You can edit your subdomain in the webflow.io domain field under Site settings > Publishing tab > Staging.

Note

If you change your site's subdomain, both your staging domain (e.g., yoursite.webflow.io) and your site's read-only link will be replaced instantly. Any read-only links you've previously shared will no longer function.

Advanced publishing options

Advanced publishing options are located in Site settings > Publishing tab > Advanced publishing options. These allow you to minify HTML, CSS, and/or JS and choose to use secure frame headers to restrict where your site can be embedded.


The Webflow Way

Want to learn best practices for how to get the most out of this feature? Check out The Webflow Way article on this topic.