Author Topic: Redirect Category Feed to a new Feed  (Read 785 times)

Paul Aflalo

  • Rookie
  • *
  • Posts: 2
Redirect Category Feed to a new Feed
« on: October 03, 2017, 03:58:48 pm »
Hi All,

My apologies if this topic has been covered, but I have yet to find it. I have a Category Feed that I need to redirect to a new Feed, on another site. I tried the normal redirect process, but it doesn't seem to be working.

Old Feed: http://www.nomoreradio.com/category/dirtyfeet/feed/
New Feed: http://www.dirtyfeetpodcast.com/feed/podcast/

This is the code I have in the .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^http://www.nomoreradio.com/category/dirtyfeet/feed/ http://www.dirtyfeetpodcast.com/feed/podcast/ [L,R=301]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Can anyone tell me what I'm doing wrong?

Thank you!

Paul

Paul Aflalo

  • Rookie
  • *
  • Posts: 2
Re: Redirect Category Feed to a new Feed
« Reply #1 on: October 03, 2017, 07:24:37 pm »
HA! I just realized the mistake. For those who are curious, here is how to properly redirect your category RSS Feed, in your .htaccess file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^category/dirtyfeet/feed/ http://www.dirtyfeetpodcast.com/feed/podcast/ [L,R=301]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Shawn Thorpe

  • Administrator
  • Hero Member
  • *****
  • Posts: 2060
Re: Redirect Category Feed to a new Feed
« Reply #2 on: October 03, 2017, 11:58:29 pm »
Good job on figuring out the solution! Thanks for sharing it here.