[wpmu-trac] [WordPress MU Trac] #331: missing trailing slash when accessing blog breaks links

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed May 9 23:10:07 GMT 2007


#331: missing trailing slash when accessing blog breaks links
------------------------+---------------------------------------------------
 Reporter:  abatkin     |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  component1  |     Version:          
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 My site uses the subdirectory scheme (as opposed to subdomain vhosting).

 When accessing a blog without a trailing slash (i.e.
 sitename.com/blogs/blogname instead of sitename.com/blogs/blogname/) some
 links (in particular the "Previous Posts" link) don't work.

 See http://trac.wordpress.org/ticket/4229 and
 http://mu.wordpress.org/forums/topic.php?id=4564 for reference.

 Commenting out
 {{{
 $home_root = trailingslashit($home_root);
 }}}
 around line 435 of {{{wp-includes/link-template.php}}} seems to do the
 trick

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/331>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list