Is there a way to exclude specific blog posts from being included in the RSS feed on Webflow?

Published on
September 22, 2023

Yes, there is a way to exclude specific blog posts from being included in the RSS feed on Webflow. By default, Webflow includes all blog posts in the RSS feed, but you can utilize custom code to exclude specific posts. Here's how you can achieve this:

  1. Identify the blog posts you want to exclude: Make a note of the specific blog posts you want to exclude from the RSS feed.

  2. Navigate to the Webflow Designer: Log in to your Webflow account and open your project in the Webflow Designer.

  3. Access the blog collection settings: Select the "Collection Pages" tab from the left-hand panel and click on your blog collection template.

  4. Add a custom code embed: Within the blog collection template, add a new element where you want to exclude the specific posts from the RSS feed. This can be a div block or a code embed element.

  5. Insert custom code: Within the custom code embed element, paste the following code:

<script>  $(document).ready(function() {    $('rss-itemURL:contains("blog-post-slug1")').remove();    $('rss-itemURL:contains("blog-post-slug2")').remove();    // Repeat the above line for each blog post slug you want to exclude  });</script>

Replace blog-post-slug1, blog-post-slug2, etc. with the actual slugs of the blog posts you want to exclude.

  1. Save and publish changes: Save your changes in the Webflow Designer and publish your site to apply the exclusion of specific blog posts from the RSS feed.

By following these steps, you can selectively exclude specific blog posts from the RSS feed on Webflow. This can be helpful if you have certain posts that you don't want to be syndicated through the feed for various reasons.

Additional questions:

  1. How do I customize the appearance of the RSS feed on Webflow?
  2. Can I add custom meta tags to my Webflow blog posts?
  3. How can I optimize my Webflow blog for SEO?