[wp-trac] [WordPress Trac] #18508: infinite Loop between canonical and 301 redirection

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 24 19:02:52 UTC 2011


#18508: infinite Loop between canonical and 301 redirection
--------------------------+------------------------------
 Reporter:  notraf        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Canonical     |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by duck_):

 I'm afraid I couldn't really follow what you were describing.

 However, it is possible to disable canonical if you would like to do so.
 Remove redirect_canonical from the template_redirect hook. Like this:

 {{{
 remove_action('template_redirect', 'redirect_canonical');
 }}}

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


More information about the wp-trac mailing list