Page Permalink Wonkiness?
|Reported by:||technosailor||Owned by:|
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?