[wp-trac] Re: [WordPress Trac] #4773: Canonical URL addition causes redirection problems

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 29 00:27:26 GMT 2007


#4773: Canonical URL addition causes redirection problems
---------------------+------------------------------------------------------
 Reporter:  jbctech  |        Owner:  markjaquith
     Type:  defect   |       Status:  assigned   
 Priority:  high     |    Milestone:  2.3        
Component:  General  |      Version:  2.3        
 Severity:  major    |   Resolution:             
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by Nazgul):

 I'm able to reproduce this.

 On my blog, if I surf to ''http://localhost/blogsvn/'', at the end of the
 ''redirect_canonical'' function
 {{{'http://localhost/blogsvn/'==$redirect_url}}} and
 {{{'http://localhost/blogsvn/index.php'==$requested_url}}}, thus forcing a
 redirect and going into an infinite loop.

 For some reason, the $requested_url gets a bonus ''index.php'' from
 somewhere that's causing this issue.

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


More information about the wp-trac mailing list