Article 560FJ Creating a stable url for a service

Creating a stable url for a service

by
Sefyir
from LinuxQuestions.org on (#560FJ)
This might be a XY problem so my problem is this:
I want to have a stable url for a rss feed, so that users can simply add example.com/feed.xml, no matter if the actual rss feed is at myothersite.com/content.xml. The user should have no idea it's actually located at myothersite.com/content.xml
I tried 301 and 302 redirects, but then the stored link ends up being the redirected url.

Code:example.com/feed.xml -> myothersite.com/content.xmlThe rss feed ends up being stored as myothersite.com/content.xml
Should I change myothersite.com/content.feed to something like anewsite.com/rss.xml in the future, it would break for existing users.

My current attempt was with reverse_proxies where this behavior exists, but they're really not designed for single urls like this and I've been unable to figure it out.
Is there a better solution?latest?d=yIl2AUoC8zA latest?i=XqHU2fRnLVQ:7IAWBNnw2zg:F7zBnMy latest?i=XqHU2fRnLVQ:7IAWBNnw2zg:V_sGLiP latest?d=qj6IDK7rITs latest?i=XqHU2fRnLVQ:7IAWBNnw2zg:gIN9vFwXqHU2fRnLVQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments