Setting up a feed redirect for any service

There is only one way to redirect an RSS feed, but the process for setting that redirect up varies by host. We'll help you find the approach that's appropriate for you.

My podcast is hosted by a service

We may have an article with instructions for your podcast's hosting service. Check the list of services.

If your podcast hosting service is not listed, we recommend reaching out to their customer support for help setting up a redirect.

I host my podcast on my own servers

If you use your own hosting, you'll either need to set up a 301 redirect from your current feed to your new Pinecast feed (preferred) or add an <itunes:new-feed-url></itunes:new-feed-url> tag to your current feed.

Setting up a 301 redirect on nginx or Caddy

If you use server software like nginx or Caddy to host your podcast, please contact Pinecast support so that we can provide you with appropriate instructions.

Setting up a 301 redirect on Apache

A 301 redirect is a permanent redirect; it reroutes RSS feed requests to your new feed and instructs your subscribers (and directory listings) to update to the new feed URL. Setting one up varies by host and server software.

If you use WordPress to host your podcast, you likely use the Apache web server. Apache uses .htaccess configuration files, which can be modified to serve a 301 redirect. Look in your web root (usually accessed over FTP) for a .htaccess file.

If no .htaccess file exists, create one that looks like this:

  <ifmodule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
   RewriteRule ^your/rss/feed [L,R=301]

You'll want to replace your/rss/feed with the path to your current feed and with your new Pinecast RSS feed URL (you can find this on your Pinecast podcast dashboard). For instance, if your old feed is and your new feed is you'll use the following line after you see RewriteEngine On:

RewriteRule ^podcast/feed/rss.xml [L,R=301]

If you already have a .htaccess file in your web root, open it and look for an <ifmodule mod_rewrite.c></ifmodule> section as described above. If one does not exist, you can copy the snippet from above to the top of your .htaccess file, following the instructions for formatting the RewriteRule line.

If an <ifmodule mod_rewrite.c></ifmodule> section does exist, you can simply add the RewriteRule line described above in the existing section directly below the RewriteBase line.

If you have questions or run into difficulty, please contact Pinecast support. We're happy to help you get your redirect configured correctly.

Setting up an tag

Alternatively, you can add the <itunes:new-feed-url></itunes:new-feed-url> tag to your feed. This is useful if you do not have the option to set up a 301 redirect and you manage your RSS feed as a static text file. This approach will not work if you use software to dynamically generate an RSS feed for you.

Open your RSS feed file and find the opening <channel></channel> tag. This is generally at the very top of the file. Immediately after <channel></channel>, you'll want to add an <itunes:new-feed-url></itunes:new-feed-url> tag containing your new Pinecast RSS feed URL (you can find this on your Pinecast podcast dashboard). For example, your file may look like this afterward:

    <title>My feed</title>

Save the file. Open your RSS feed's URL in your browser and check to make sure your feed has been updated.

None of these methods apply to me!

If you've gone through this article and do not see a way to redirect your feed that's appropriate for you, please get in touch! We're happy to help you get a redirect set up with your platform.

Still need help? Contact Us Contact Us