Don't Change Your RSS URL

13 Jan 2024 | ~2 minute read

I love RSS. My RSS feed reader is the page I visit most on web, I think. So it's very frustrating when folks update their site, but don't redirect their RSS feed - please remember to do it, people.

My RSS feed reader of choice is Miniflux, which has a great progressive web app (PWA) so I don't need to use a 3rd party app to access my feeds (although I can if I want). It's so simple and content focussed, I love it.

Anyway, one of the features of Miniflux that I find useful, it that it tells you when a feed breaks. It's not in your face, you just get a little (1) next to the feed link if there's a broken feed, like this:

Example of a broken RSS feed on the Miniflux header menu
There's a dead feed, Jim

The problem is, this seems to happen way more than I'd like and the vast majority of the time, it's because the URL to the RSS feed has changed.

I have 188 feeds on Miniflux, and of those, there's at least a couple that break every week. So I then have to go into the feed settings, visit the site, find the new feed URL, then update it in Miniflux.

It's not a massive job, but it's annoying. The most frustrating part though, is that it can be prevented easily.

How to stop your feed URL breaking

We all know that cool URLs don't change. So setup a redirect on something like /feed that goes to your RSS feed and add /feed to your page's meta like this:

<link rel="alternate" type="application/rss+xml" title="Latest posts" href="https://example.com/feed"/>

Then no matter which platform you end up using, all you have to do is remember to update that redirect and the URL will never change for your readers.

Personally, I do this within my Apache .htaccess file:

Redirect 301 "/feed" "/index.xml"

Just replace /index.xml with whatever the URL for your feed is. Most hosting providers and/or CMS's offer some kind of redirection functionality, so you should be able to find the way to do it on your site rather easily. But if you're using Apache, like most people, the line above in your .htaccess file should work just fine.

If you're using Nginx, this post by Robb should help you with redirects.

Then, as if by magic, your RSS feed URL will never change and you'll never lose readers who subscribe by RSS, just because you've decided to make a change. Win/win.

I've just been made aware of Feed Canary a really useful tool that monitors your RSS feed. Worth checking out if you want to monitor your feed(s).

← The one before
Fat Boy at 40 - Update 04 (The Christmas Aftermath)

Up next →
Warming up the Garage 🔥

Get in touch!

Receiving emails from my readers is my favourite thing, so if you have something to say, feel free to drop me an email or sign my guestbook.

Want more content?

Say no more, dear reader. Here's three random posts from this blog for you to peruse:

Is JavaScript Bad? Well, Only If You Are Using It Wrong
26 Feb 2021

The Battle Of The Oscar Fish Tank
03 May 2020

AirPods Pro - 1 Week Later
14 May 2022

Want to be informed when I post new articles? Simply enter your email address below and you will get an email whenever new posts are published.

Alternatively, you can subscribe via RSS instead.

Enjoyed this post?

I put a lot of work into maintaining this site and I really enjoy interacting with my readers.

My fuel of choice is coffee, so if you did enjoy this post, or found it in any way useful, I'd appreciate more fuel to keep me going. ❤️

Buy me a coffee