Modifying the Podcast Archive URL
By default, the podcast archive URL is http://example.com/podcast
and your RSS feed URL is http://example.com/feed/podcast
, but you can change these by adding the snippets below to your theme's functions.php
file.
To change your podcast archive URL slug
https://gist.github.com/TheCraigHewitt/0ec6ff8a81715547c7173e6a9df43ba2
To change your podcast RSS feed URL slug
https://gist.github.com/TheCraigHewitt/c424c4bff4199c397d4e24eae3f1f8af
Note
After adding either of these snippets you will need to re-save your site’s permalinks by going to your WordPress Settings > Permalinks in the admin menu and clicking on the save button.
Important
Once you have added these snippets, the podcast
slug of the URLs mentioned above will be changed to the new slug that you specified. Any links that have already been shared or indexed by search engines will break without proper redirects in place.