Can I have blog posts in a CMS collection in Webflow and still have their URLs in the root directory?

Published on
September 22, 2023

Yes, you can have blog posts in a CMS collection in Webflow and still have their URLs in the root directory. Here's how you can achieve that:

  1. Create a new CMS collection for your blog posts in the Webflow Designer.
  2. Add all the necessary fields to your CMS collection, such as "Title," "Content," "Publish Date," and any other information you want to include for each blog post.
  3. Design your blog post template using the CMS collection fields to display the blog post data.
  4. Go to your CMS collection settings and configure the URL structure for your blog posts.
  • By default, Webflow will generate URLs like /blog/post-title.
  • To have the URLs in the root directory, you will need to modify the URL structure.
  1. In the CMS collection settings, click on the "Add Field" button and create a new Text field called "Slug."
  • The "Slug" field will be used to manually set the URL of each blog post.
  1. In your blog post template, bind the "Slug" field to the URL in the link settings.
  • For example, if your "Slug" field is "{{slug}}," the URL should be set to /{{slug}}.
  • This will ensure that each blog post has a unique URL in the root directory.
  1. Publish your site to make the changes live.

By following these steps, you can have blog posts in a CMS collection in Webflow while still having their URLs in the root directory. This allows you to create a clean URL structure for your blog posts and improve the visibility of your content in search engines.

Additional Questions:

  1. How do I create a CMS collection in Webflow?
  2. Can I customize the design of my blog posts in Webflow?
  3. Is it possible to add categories or tags to my blog posts in Webflow CMS?