[wp-trac] Re: [WordPress Trac] #5017: Endless Redirect

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 20 02:04:23 GMT 2007


#5017: Endless Redirect
------------------------------+---------------------------------------------
 Reporter:  chaoticmortalcom  |        Owner:  chaoticmortalcom
     Type:  defect            |       Status:  new             
 Priority:  high              |    Milestone:  2.3             
Component:  General           |      Version:  2.3             
 Severity:  critical          |   Resolution:                  
 Keywords:  redirect          |  
------------------------------+---------------------------------------------
Comment (by DD32):

 > Also, a strange thing has happened: nothing works! I can't even get into
 control panel, and the only thing that shows is my Site Unavailable thing.
 Surely something happened, or is Mark still at work fixing things?

 Actually it looks like your site unavailable plugin is affecting
 everything and refusing to allow you access to the admin.

 as for mark, I dont know, He might not even be available right now given
 he hasnt posted back

 >Also, I thought it was possible to edit from within the admin interface
 with edit.php (Manage > Files) ? Am I wrong? Or is it just something
 else..

 Hm, Your right, i thought that was limited to plugins and themes, but if
 the server config allows you can edit any WP file..

 If you'd like to get your blog back and working, Then you can disable the
 canonical redirections for now.

 Remove your site unavailable plugin, then edit the file:

 {{{ wp-includes/canonical.php }}}

 At the bottom of the file theres this line:

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

 If you comment it out as such:

 {{{//add_action('template_redirect', 'redirect_canonical');}}}

 then that should disable the redirection, it doesnt fix the problem code,
 its just a work around until mark can get back to you.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5017#comment:23>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list