CINXE.COM

How to Redirect an RSS Feed

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-J80V1HPMKT"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-J80V1HPMKT'); </script> <title>How to Redirect an RSS Feed</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="alternate" type="application/rss+xml" title="RSS Advisory Board" href="http://feeds.rssboard.org/rssboard" /> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Anton&family=Lisu+Bosa:wght@700&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> <style type="text/css" media="screen"> @import url("https://www.rssboard.org/images/stylesheet.css"); </style> <style type="text/css" media="screen"> @import url("https://www.rssboard.org/images/spec-stylesheet.css"); </style> <meta name="robots" content="noodp" /><meta name="description" content="Techniques to indicate that an RSS feed has moved to a new URL." /> </head> <body> <!-- ukey="13C1F4FD" --> <!-- Begin Page --> <div class="container page"> <div class="row"> <div class="col col-md-12 banner"> <h1 class="bannerhead"><a href="/">RSS Advisory Board</a></h1> <h2 class="bannersubhead">Really Simple Syndication specifications, tutorials and discussion</h2> </div> </div> <div class="row"> <div class="col col-md-10"><!-- Begin Google AdSense --> <div align="center"> <p><script type="text/javascript"><!-- google_ad_client = "pub-8378161688790357"; /* RSS Board, 728x90, created 10/30/10 */ google_ad_slot = "8997688149"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> </div> <!-- End Google AdSense --><!-- Begin Main Content --> <div class="specification"> <h3>How to Redirect an RSS Feed</h3> <p>When you move your weblog from one host to another, the address of your RSS feed changes. How can you redirect subscribers from the old feed to the new one? Typically bloggers rely on messages posted to the old feed that ask subscribers to switch to the new feed. Not many folks have run into this situation yet, but those who have will tell you that it's hard to get subscribers to make the switch.</p> <p>There are two ways to redirect your RSS feed:</p> <p>The HTTP 301 redirect: If you can configure your blog's server to issue an HTTP 301 ("Moved Permanently") response to requests for your old RSS feed, or if your server's administrator can do this for you, then RSS readers should redirect to the new location.</p> <p>The XML redirect: You also can, instead, post a special XML message to the address of your old RSS feed, advising RSS readers to redirect to a new location. Here's an example:</p> <p><b>Table 1: the XML redirect</b> <table border="1" cellpadding="4" cellspacing="0"> <tr> <td>Address of old RSS URI</td> <td>Content of old RSS URI</td> </tr> <tr> <td> <a href="http://radio.weblogs.com/0100887/rss.xml">http://radio.weblogs.com/0100887/rss.xml</a> </td> <td> &lt;redirect><br> &lt;newLocation><br> <a href="http://weblog.infoworld.com/udell/rss.xml">http://weblog.infoworld.com/udell/rss.xml</a><br> &lt;/newLocation><br> &lt;/redirect> </td> </tr> </table> <p><i>Redirecting from an old RSS address to a new one</i></p> <p>RSS readers should be prepared to honor either method. In case of conflict, we recommend that the XML redirect take precedence, since it's the most accessible strategy.</p> <p>Blog authors should use one or another of these strategies when their blogs move. It doesn't hurt to use both, so long as the new address in each case is the same. That's probably advisable given current uncertainty about which RSS readers support which strategy, and in light of the high cost to authors of losing subscribers when moving to a new location.</p> <p>We'd like to know which RSS readers support one or the other (or both) of these strategies, so we can document that support here.</p> <p>Finally, we recommend that weblog hosting services offer and document redirection features, so that users need not contemplate the details of either of these strategies.</p> </div> <!-- End Main Content --> </div> <div class="col col-md-2 sidebar"> <!-- Begin Sidebar --> <p class="text-center"> <a href="/"><img src="/images/rss-feed-icon-96-by-96.png" width="96" alt="RSS icon" class="img-fluid"></a> </p> <div class="sidebargroup"> <div class="sidebartitle">Main Menu</div> <div class="sidebarlink"><a href="https://www.rssboard.org/">RSS Advisory Board</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/rss-specification">RSS Specification</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/rss-profile">RSS Profile</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/rss-validator/">RSS Validator</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/rss-autodiscovery">RSS Autodiscovery</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/advisory-board">Board Members</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/charter" rel="nofollow">Charter</a></div> <div class="sidebarlink"><a href="https://groups.google.com/g/rss-public">RSS-Public Mailing List</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/rss-language-codes">RSS Language Codes</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/rsscloud-interface">RSSCloud Interface</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/rss-history">RSS History</a></div> </div> <div class="sidebargroup"> <div class="sidebartitle">RSS Feeds</div> <div class="sidebarrsslink"><a href="http://feeds.rssboard.org/rssboard" rel=\"nofollow\"><img src="/images/rss-icon.png" alt="Subscribe to Really Simple Syndication" border="0" width="16" height="16" /></a> <a href="http://feeds.rssboard.org/rssboard" rel=\"nofollow\">This Weblog</a></div> </div> <div class="sidebargroup"> <div class="sidebartitle">Social Media</div> <div class="sidebarlink"><a rel="me" href="https://mastodon.social/@rssboard">Mastodon</a></div> </div> <div class="sidebargroup"> <div class="sidebartitle">Spec Library</div> <div class="sidebarlink"><a href="https://www.rssboard.org/rss-specification">RSS 2.0 (Current)</a></div><div class="sidebarlink"><a href="https://www.rssboard.org/rss-2-0">RSS 2.0</a></div><div class="sidebarlink"><a href="https://www.rssboard.org/rss-0-9-2">RSS 0.92</a></div><div class="sidebarlink"><a href="https://www.rssboard.org/rss-0-9-1">RSS 0.91</a> (UserLand)</div><div class="sidebarlink"><a href="https://www.rssboard.org/rss-0-9-1-netscape">RSS 0.91</a> (Netscape)</div><div class="sidebarlink"><a href="https://www.rssboard.org/rss-0-9-0">RSS 0.90</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/rss-change-notes">RSS Change Notes</a></div> </div> <div class="sidebargroup"> <div class="sidebartitle">Namespaces</div> <div class="sidebarlink"><a href="https://www.rssboard.org/creative-commons">Creative Commons</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/media-rss">Media RSS</a></div> <div class="sidebarlink"><a href="https://www.rssboard.org/trackback">Trackback</a></div> </div> <div class="sidebargroup"> <div class="sidebartitle">Archive</div> <div class="sidebarlink"><a href="https://www.rssboard.org/site-index" rel="nofollow">Site Index</a></div> </div> <div class="sidebargroup"> <div class="sidebartitle">Board Members</div> <div class="sidebarlink">Rogers Cadenhead</div> <div class="sidebarlink">Sterling "Chip" Camden</div> <div class="sidebarlink">Simone Carletti</div> <div class="sidebarlink">James Holderness</div> <div class="sidebarlink">Jenny Levine</div> <div class="sidebarlink">Eric Lunt</div> <div class="sidebarlink">Randy Charles Morin</div> <div class="sidebarlink">Ryan Parman</div> <div class="sidebarlink">Jake Savin</div> <div class="sidebarlink">Jason Shellen</div> <div class="sidebarlink">Paul Querna</div> </div> <div class="sidebargroup"> <div class="sidebartitle">Other Formats</div> <div class="sidebarlink"><a href="https://datatracker.ietf.org/doc/html/rfc4287" rel="nofollow">Atom</a></div> <div class="sidebarlink"><a href="http://web.resource.org/rss/1.0/" rel="nofollow">RDF Site Summary</a></div> </div> <!-- End Sidebar --> </div> </div> <div class="row top10header"> <div class="col"> <h2 class="top10">Popular Pages on This Site</h2> </div> </div> <div class="row"> <div class="col"> <ul> <li><a href="https://www.rssboard.org/rss-validator/">RSS Validator</a></li> <li><a href="https://www.rssboard.org/media-rss">Media RSS Specification (Current)</a></li> <li><a href="https://www.rssboard.org/rss-specification">RSS 2.0 Specification</a></li> <li><a href="https://www.rssboard.org/rss-profile">RSS Best Practices Profile</a></li> <li><a href="https://www.rssboard.org/redirect-rss-feed">How to Redirect an RSS Feed</a></li> </ul> </div> <div class="col"> <ul> <li><a href="https://www.rssboard.org/rss-language-codes">RSS Language Codes</a></li> <li><a href="https://www.rssboard.org/rss-enclosures-use-case">Payloads for RSS</a></li> <li><a href="https://www.rssboard.org/rss-encoding-examples">RSS Encoding Examples</a></li> <li><a href="https://www.rssboard.org/rss-autodiscovery">RSS Autodiscovery</a></li> <li><a href="https://www.rssboard.org/news/212/read-rss-feed-php-using">How to Read an RSS Feed with PHP Using SimplePie</a></li> </ul> </div> </div></div> <!-- End Page --> <div class="footer"> <p><a href="/">RSS Advisory Board</a> | <a href="http://feeds.rssboard.org/rssboard">RSS Feed</a> | <a href="https://www.rssboard.org/rss-specification">RSS Specification</a> | Hosted by <a href="https://workbench.cadenhead.org/">Workbench</a></p> </div> </div> <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10