Skip to content
Available for new work
Pages in Blog

GuidePremium

RSS feeds and XML sitemap in CoullWorks Blog for Magento 2

The blog feed, the category feeds, the blog entries in Magento's XML sitemap and the list on Magento's RSS page, with the two Magento settings that must be on first and the blog settings that control them.

Updated 17 November 2026Back to the package pageBuy

The blog adds RSS feeds and adds its pages to the store's XML sitemap. Both depend on a Magento setting that is off on a fresh store, so a feed or sitemap that answers 404 is usually a missing prerequisite and not a fault.

Before you start#

  1. Turn on Magento's RSS. Open Stores, Configuration, Catalog, RSS Feeds and set Enable RSS to Yes. This is Magento's own switch (rss/config/active), and it is off by default. With it off, /blog/rss, the category feeds and Magento's /rss page all answer 404.
  2. Keep the blog on for the store view. With Enable Blog set to No under General, that store view has no blog feeds (/blog/rss and the category feeds answer 404 and are not listed on Magento's RSS page) and no blog rows in its sitemap. See General settings.
  3. Keep the blog's RSS on. Under Stores, Configuration, CoullWorks, Blog, SEO, Enable RSS Feeds is Yes by default.
  4. Generate a sitemap. The blog adds its pages to the sitemap Magento generates, and /sitemap.xml answers 404 until one exists. Open Marketing, SEO & Search, Site Map, press Add Sitemap, set a file name of sitemap.xml and a path of /, choose the store view and press Save & Generate. After that, Magento's own sitemap_generate cron job regenerates it on the schedule set under Stores, Configuration, Catalog, XML Sitemap, Generation Settings, so cron must be running.

Magento's sitemap and RSS screens are Magento's, so take the exact steps for your version from its documentation if yours differs.

The blog feed#

Address: /blog/rss. It is the same feed Magento lists as rss/feed/index/type/coullworks_blog.

The blog RSS feed in a browser: an RSS 2.0 channel with seven items

The feed as the browser shows it: an RSS 2.0 document whose channel title is "Default Store View blog", with a language of en-GB, a link to the blog and a self link to /blog/rss. Each item has the post title, a description holding the excerpt, the publish date, the link, the same address as its guid, and an enclosure pointing at the featured image.

What it holds:

  • The newest visible posts, as many as Posts In A Feed (default 20), newest first.
  • For each post: title, a summary (the excerpt), publish time, link, and the featured image as an enclosure.
  • Only what the visitor may see. A draft, a scheduled post, or a post for another store view or customer group never appears.
  • The feed is sent with a public cache lifetime of one hour and is cleaned when posts change.

Posts In A Feed appears once Enable RSS Feeds is Yes.

A category feed#

Address: /blog/rss/category/<category url key>, for example /blog/rss/category/guides. The same feed as rss/feed/index/type/coullworks_blog_category/cid/<id>. It answers 404 when the category does not exist or is not visible.

The Guides category feed with three items

The feed for the Guides category: the channel title "Guides - Default Store View", the category's description as the channel description and three items, the three Guides posts.

Blog feeds on Magento's RSS page#

Magento lists every feed on its own page at /rss. The blog adds its feeds there, so visitors can find them without knowing the addresses.

Magento's RSS Feeds page with Blog under Miscellaneous Feeds and one row for each blog category

The RSS Feeds page: under "Miscellaneous Feeds" the row "Blog" with a Get Feed link, then under "Blog Categories" one row, each with Get Feed, for Guides, Tents and shelters, Stoves and cooking, Skills and Trail notes.

The XML sitemap#

Address: /sitemap.xml, or wherever you told Magento to write the file. The blog adds four kinds of address to the sitemap Magento generates, beside the home page, CMS pages and products:

KindIncluded when
PostsVisible to a logged-out visitor in the store view being generated, so a post limited to certain customer groups is not listed
CategoriesEnabled and visible to a logged-out visitor
TagsEnabled, and with at least Noindex Tag Pages With Fewer Posts Than posts (default 3). Thin tag pages are left out
AuthorsActive, with at least one post in the sitemap

Each entry has the address, a last modified date taken from when the item was last updated, a change frequency, a priority and, for posts, the featured image as an image entry with its title and caption.

The top of /sitemap.xml showing the home page, CMS pages, products and the first blog post

The start of the sitemap in a browser: Magento's own entries first (the home page, the Gear category page, CMS pages and four tent, pack and stove products), then the blog posts, for example /blog/layering-wet-cold with a change frequency of weekly, a priority of 0.6 and its featured image. The page is longer than the capture: the other posts, the categories, tags and authors follow.

Priority and frequency#

Each kind has a priority (a number, 0.0 to 1.0 for search engines) and a change frequency under Stores, Configuration, CoullWorks, Blog, SEO. Search engines treat both as hints.

KindPriority fieldDefaultFrequency fieldDefault
PostsSitemap Priority: Posts0.6Sitemap Frequency: Postsweekly
CategoriesSitemap Priority: Categories0.5Sitemap Frequency: Categoriesweekly
TagsSitemap Priority: Tags0.3Sitemap Frequency: Tagsweekly
AuthorsSitemap Priority: Authors0.3Sitemap Frequency: Authorsmonthly

The frequency choices are Magento's own list (Always, Hourly, Daily, Weekly, Monthly, Yearly, Never). Changing a value takes effect when the sitemap is next generated, so press Save & Generate on the Site Map screen to see it at once. These fields are shown with screenshots on Configure.

If a feed or the sitemap is missing#

What you seeCheck
/blog/rss, a category feed and /rss all answer 404Stores, Configuration, Catalog, RSS Feeds, Enable RSS is No, or Enable RSS Feeds under the blog's SEO group is No, or Enable Blog under General is No for the store view
One category feed answers 404 and the others workThe category is disabled, hidden for the visitor or the key is wrong
/sitemap.xml answers 404No sitemap has been generated: add one under Marketing, SEO & Search, Site Map
The sitemap has no blog entriesIt was generated before the posts existed, or for another store view, or Enable Blog is No for that store view. Generate it again
A tag is missing from the sitemapIt has fewer posts than the noindex threshold

Available for new work

UK based · PHP · Python · JS · TS. Every first call is free.