Redirecting category RSS feed URLs
-
Hi everyone,
So quick overview:
- I’m working on a site that is currently running on a platform other than WordPress.
- They have a mobile app that pulls in content via RSS feeds from their site.
- We’re developing a new site that is based on WordPress.
- The problem: WordPress’s RSS feed links are different than the old platform (specifically the category feed links), and I can’t answer as to why we can’t update the apps…
So, for example, the current RSS feed URL pulling in “news” is formatted as:
https://site.org/rss/newsWordPress formats it as:
https://site.org/category/news/feedVery simply, I just want any HTTP requests made to “https://site.org/rss/news” to be redirected to “https://site.org/category/news/feed”.
I assume I need some sort of mod rewrite rule, but I’m not very knowledgable in this area. This is some code I’m currently messing with:
RewriteEngine on RewriteRule "^/rss/news$" "/category/news/feed"
But that doesn’t work.
I’m wondering if someone here might have an idea of how we can accomplish this?
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Redirecting category RSS feed URLs’ is closed to new replies.