WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is anybody know about this issue? I have implemented RSS feed in functions.php file for two custom post types:

function myfeed_request($qv) {
 if (isset($qv['feed']) && !isset($qv['post_type']))
   $qv['post_type'] = array('news', 'commentary');
 return $qv;
add_filter('request', 'myfeed_request');

than I have a link to Rss feed as : <a href="<?php bloginfo('rss2_url'); ?>">Subscribe to RSS </a >

Once I click on the link I'm getting empty RSS feed and "page not found".

Thanks in advance. DT

share|improve this question

closed as too localized by toscho Jul 14 '12 at 21:34

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.