0

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!

1 Answer 1

1

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' );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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