Redirect to podcast:// URL scheme not working

Hi there! I set up a redirect page with the Pages > New > New Redirect feature. I wanted to redirect from /friday-flapjacks-podcast to podcast://andrepang.micro.blog/podcast.xml. However, the redirect isn’t working — it redirects to https://andrepang.micro.blogpodcast//andrepang.micro.blog/podcast.xml instead.

Would we be able to fix this at all? It looks like it’s treating the URL relative to the base path, rather than as a full URL.

(For what its worth, the reason for the redirect is that I’m trying to post a link to my podcast in WhatsApp, but WhatsApp doesn’t parse podcast:// links, so I need an intermediary https:// link instead. I’ve tested the redirect with another site and it works great. Also, I know this help post is in the Podcast category, but it’s arguably a general Hosting question.)

Thanks very much!

Thanks for noticing this. Looks like Micro.blog is confused by the podcast://, but we should add support for that. In the meantime, it’s kind of a hack but you could add an intermediary page with contents like this as a work-around:

<meta http-equiv="refresh" content="0; url=podcast://andrepang.micro.blog/podcast.xml">

I’ll try to fix the redirects to also support podcast:// later today. Shouldn’t be a problem.

Ah thanks Manton, I didn’t think of that! I’ll use that hack until the proper redirect support works. Appreciated.

I’ve added support for redirecting to podcast:// URLs now! Also added feed:// and mailto: while we are at it, since those might be useful.

1 Like

I’ve verified that it works great, thanks for the quick fix Manton!