Revert default RSS feed URL after customizing routes

I am using Ghost (Pro) and I did some simple customization to my routes.yaml as follows:

routes:
  /:
    template: home
    data: page.home

collections:
  /posts/:
    permalink: /{slug}/
    template: index

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/

After doing this, I realized that the default RSS feed for all posts moved from /rss/ to /posts/rss. How do I revert that URL to /rss/ while keeping my /posts/ routing? I did read this but I don’t want to use a custom template. The default one is good enough for me. How do I do this?

Any help on this please?

Any assistance for this please?

Can anyone from Ghost assist me with this please?

You can try to follow the article you posted to define your own route and simply copy the default rss template and use that, or you can change your route setup so that the default collection is / and make the /posts/ a channel instead.

1 Like

Another approach could be to add a redirect so /rss/ redirects to /posts/rss/

3 Likes

Oh nice. So, it would be a 301 redirect as described here?

Oh channels are great. Maybe I’ll look to do that instead. Thanks for the tip!