Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using RSS as a tag for some of my blog posts, and I was using them without any problem.

myblog.com/tag/rss/

But I've just realised that Google Webmaster Tools gives me some related errors.

The issue is this: when trying to retrieve the feed of this tag, from

myblog.com/tag/rss/feed/

it gets redirected to

myblog.com/tag/feed/

And this gives an error.

Anyone knows how to solve it? Thanks!

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

It's not possible to do yet due to a bug in Wordpress core.

A workaround was provided in Wordpress ticket

function disable_canonical_redirection_for_tag_feeds() {
if ( is_feed() && is_tag() )
    remove_action( 'template_redirect', 'redirect_canonical' );
}
add_action( 'wp', 'disable_canonical_redirection_for_tag_feeds' );
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.