Title: RSS/XML feed linking
Last modified: May 25, 2021

---

# RSS/XML feed linking

 *  Resolved [douglaskastle](https://wordpress.org/support/users/douglaskastle/)
 * (@douglaskastle)
 * [5 years ago](https://wordpress.org/support/topic/rss-xml-feed-linking/)
 * I have an issue with simply static. I am looking to legacy host a podcast and
   need a proper rss link.
 * When I use podlove, it will place the rss feed under a link under a full wordpress
   install:
 * [http://example.com/feed/mp3](http://example.com/feed/mp3)
 * This link appear correctly in the static home page generated. However that link
   goes nowhere. The actual content can be found at:
 * [http://example.com/feed/mp3/index.xml](http://example.com/feed/mp3/index.xml)
 * Now ideally i would prefer just the link to work for legacy reasons. However 
   what is the correct path forward? Either replace the link in the homepage to 
   reflect the actual location, or is there a way of tricking out a redirect on 
   a static page so that it starts from the first one but ends up at the second 
   one?
 * My short term solution is a python script that reopens all the html pages and
   rewrites the link.
 * This isn’t limited to just the podlove rss feeds, all rss/xml feeds have this
   problem.
 * Thanks for the support BTW!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frss-xml-feed-linking%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [douglaskastle](https://wordpress.org/support/users/douglaskastle/)
 * (@douglaskastle)
 * [5 years ago](https://wordpress.org/support/topic/rss-xml-feed-linking/#post-14483012)
 * Here is a page on the myriad ways of redirecting. They don’t recommend the html
   way, but in a static site I think that is the only way available?
 * [https://css-tricks.com/redirect-web-page/](https://css-tricks.com/redirect-web-page/)
 *  Plugin Author [patrickposner](https://wordpress.org/support/users/patrickposner/)
 * (@patrickposner)
 * [5 years ago](https://wordpress.org/support/topic/rss-xml-feed-linking/#post-14485753)
 * Hey [@douglaskastle](https://wordpress.org/support/users/douglaskastle/),
 * RSS feeds are a problem right now, absolutely correct.
 * Is the URL of the feed part of the current page?
    Is it linked somewhere?
 * This way, Simply Static should be able to parse and export it.
 *  Thread Starter [douglaskastle](https://wordpress.org/support/users/douglaskastle/)
 * (@douglaskastle)
 * [5 years ago](https://wordpress.org/support/topic/rss-xml-feed-linking/#post-14486127)
 * [@patrickposner](https://wordpress.org/support/users/patrickposner/)
 * Yes there are 2 examples in the linked page, this is a generic rss feed
 * [https://gurucomedy.podonaut.com/comments/feed/](https://gurucomedy.podonaut.com/comments/feed/)
 * and this is the podlove generated one:
 * [https://gurucomedy.podonaut.com/feed/podcast/](https://gurucomedy.podonaut.com/feed/podcast/)
 * Both fail as “links”, but if you add index.xml to both you will find the correct
   feed.
 * I practiced last night and added an index.html in parallel with a redirect to
   the xml and it seemed to work:
 * [https://stackoverflow.com/questions/5411538/redirect-from-an-html-page](https://stackoverflow.com/questions/5411538/redirect-from-an-html-page)
 *     ```
       <!DOCTYPE HTML>
       <html lang="en-US">
           <head>
               <meta charset="UTF-8">
               <meta http-equiv="refresh" content="0; url=https://gurucomedy.podonaut.com/comments/feed/index.xml">
               <title>Page Redirection</title>
           </head>
           <body>
               <!-- Note: don't tell people to <code>click</code> the link, just tell them that it is a link. -->
               If you are not redirected automatically, follow this <a href='https://gurucomedy.podonaut.com/comments/feed/index.xml'>xml</a>.
           </body>
       </html>
       ```
   
 *  Thread Starter [douglaskastle](https://wordpress.org/support/users/douglaskastle/)
 * (@douglaskastle)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/rss-xml-feed-linking/#post-14557663)
 * Update:
 * I have been looking at this just from a raw html perspective.
 * My problem is that I have a podcast, (using podlove), and the rss link is given
   as a link, not a file. That link has been given out to a tone of podcast directories
   and it is an unbelievable pain to change it.
 * The podcast website is currently under wordpress, but I want to move it to a 
   static site, I can redirect the domain name no problem, it is getting that link
   to perform under the static site, like a link, using only html is proving impossible.
   I am using github pages for hosting, so I don’t have the ability to set up server
   rewrite rules in there to create a 301.
 * I tried the html to xml redirect, it works in a broswers, but most rss parser
   tools do not respect this. They want a 301 redirect or nothing. It does not appear
   to be able to do a 301 redirect in a static site using html.
 * In my case I am using cloudflare for my domain hosting, I am able to set up a
   301 URL redirection here, this gives me the type of link resolution I am looking
   for. This solution may not work for other people.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘RSS/XML feed linking’ is closed to new replies.

 * ![](https://ps.w.org/simply-static/assets/icon-256x256.png?rev=2443263)
 * [Simply Static - The Static Site Generator](https://wordpress.org/plugins/simply-static/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-static/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-static/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-static/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-static/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-static/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [douglaskastle](https://wordpress.org/support/users/douglaskastle/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/rss-xml-feed-linking/#post-14557663)
 * Status: resolved