• Hello. I have a situation where I would like to change the “link” element in the automatic RSS feed created by WordPress for one particular category on my blog. For example, let’s say I have a category on the site with a URL of “http://www.myblog.com/blog/category/”. The feed would, of course, be “http://www.myblog.com/blog/category/feed/”. When I view the source of the feed, it looks like this:

    <channel>
    <title>category title</title>
    <atom:link href=”http://www.myblog.com/blog/category/feed&#8221; rel=”self” type=”application/rss+xml” />
    <link>http://www.myblog.com/blog</link&gt;
    <description>testing</description>

    Is there any way to change the <link> element above so that it points to this particular category page (http://www.myblog.com/blog/category)? Currently, this element is the same no matter which page I’m on. I’m attempting to put a third party widget on this category page and they need to validate the widget. They are using the “link” element to validate that I’ve placed the widget there. I would prefer to not have to install this widget on my home page. Thanks!

  • The topic ‘How to change the “link” element in the RSS feed?’ is closed to new replies.