[wp-trac] [WordPress Trac] #21700: Problem obtaining the Feed of an archive of tag “RSS”

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 27 12:11:53 UTC 2012


#21700: Problem obtaining the Feed of an archive of tag “RSS”
--------------------------+------------------------------
 Reporter:  xavivars      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Canonical     |     Version:  3.4.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 A workaround is to disable canonical redirection for tag feeds:
 {{{
 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' );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21700#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list