• I can call my news feed with “mysite.co.uk/index.php?feed=rss2” but we want to change that into “mysite.co.uk/news/rss2.xml” so that calls to our old CMS feed are correctly handled for the new WP install.

    Anyway we tried this (htaccess) but it returns one of WP’s “ERROR: news/rss2 is not a valid feed template” messages:

    RewriteRule ^news/rss2.xml$ index.php?feed=rss2 [L]

    For reference we also tried this, which sort of worked without the needed DIR (but we do need the /news/ dir as that’s where our old feeds use to be) but oddly only when you use mysite.co.uk/rss.xml or mysite.co.uk/rss2.xml and NOT mysite.co.uk/news.xml . I’m stumped.

    RewriteRule ^news\.xml$ /index.php?feed=rss2 [L]

  • The topic ‘Error – Not a valid feed template?’ is closed to new replies.