[wp-trac] [WordPress Trac] #4919: Page Permalink Wonkiness?

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 6 19:22:07 GMT 2007


#4919: Page Permalink Wonkiness?
--------------------------+-------------------------------------------------
 Reporter:  technosailor  |       Owner:  anonymous
     Type:  defect        |      Status:  new      
 Priority:  normal        |   Milestone:  2.3      
Component:  General       |     Version:           
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 I'll do my best to describe this problem. It would help if I knew where
 the problem was occurring but several hours of debugging have really
 gotten me nowhere.

 So my permalink structure is /%postname%/. I have existing pages that work
 as expected. An example would be http://www.technosailor.com/about which
 takes you to a Page with bio info on me. No problem, right?

 Today I went to create a new page. I made a new template file for the page
 ( Template Name: Self Importance Test ) called self-test.php.

 Into WordPress I go and create a new blank page called "The Technosailor
 Self Importance Test" - using the Self Importance Test template, which is
 available so WordPRess sees it, and it's slug is the-technosailor-self-
 importance-test.

 When accessing this page (http://technosailor.com/the-technosailor-self-
 importance-test/), WordPress 404s.

 Hmmm, thought I... let's debug. I've tried a variety of different debug
 methods - all have failed:

 * Regenerate permalinks
 * Rename slug
 * Create a new page
 * Change Template Using to Default
 * SVN'd up query.php and rewrite.php back to the beginning of August
 * Dumped $wp_query object with print_r into HTML comments inside
 header.php and noticed that the query was looking for post_type 'post'.
 I've left this in place for reference

 I'm kind of at a loss here. I guess it COULD be a plugin too but my
 plugins have not really changed in months and making pages has always
 worked before.... Is this a bug?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4919>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list