[wp-trac] [WordPress Trac] #10486: 404 Template Pages

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 4 02:47:07 UTC 2009


#10486: 404 Template Pages
--------------------------+-------------------------------------------------
 Reporter:  dcole07       |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  2.9        
Component:  Template      |     Version:  2.8.1      
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by dcole07):

 I read though the WordPress code and it's not like the code has a bug,
 it's just lacking the feature to pickup on missing content. The problem
 with generating a solution for this "bug" is that we don't know there is
 no content until we're half way though the template it did match. What I
 don't get, is that this problem can be avoided with the right non-default
 permalink structure. So, does that mean we can patch this problem, so
 visitors don't use a template that doesn't have content available? I'm
 thinking we could check for content based on what the URL says it's going
 to be when WordPress is deciding what template to use and give a 404 if
 nothing is found... basically. We'd have to be careful, because some
 templates may be designed to not have content.

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


More information about the wp-trac mailing list