[wp-hackers] Custom post type & hierarchical

Dan Smart dan at dansmart.co.uk
Sun Aug 22 07:19:10 UTC 2010


Just to confirm, I have the same issue on WP3.0.1, was going to enquire about that too.

Mind you, the rewrite rules for custom taxonomies don't seem to be completely implemented by WP yet, so I assumed this was another related issue.

Dan

Dan Smart - Web Developer
www.dansmart.co.uk

On 22 Aug 2010, at 00:17, Michael Clark<dc153464a11bcf5aeb18180db28017fb.wp-hackers at planetmike.com> wrote:

> At 1:49 AM +0300 8/22/10, scribu wrote:
>> On Sun, Aug 22, 2010 at 1:39 AM, Michael Clark <
>> -> wrote:
>> 
>>> I've added a new "Show" of "1998 Season". Then I added in a show that was
>>> in that season. You Can't Take it With You. In the admin area:
>>> http://www.example.com/wp-admin/edit.php?post_type=shows I see the show in
>>> the hierarchy correctly. But when I click on the View link under the show
>>> title (http://www.example.com/shows/1998-season/you-cant-take-it-with-you/)
>>> I get a 404 error. If I remove 1998-season from the URL, the page shows up
>>> just fine. Is this a WordPress bug, or have I done something wrong somewhere
>>> along the way? Searching the Codex, WP forums and Google isn't turning up
>>> anything useful.
>>> 
>> 
>> Maybe it's because the slug begins with a number. Try changing it to
>> 'test-1998-season'.
> 
> Nice guess, but that did not affect anything.
> 
> BTW, WP 3.0.1
> 
> -- 
> 
> Michael Clark
> http://www.PlanetMike.com
> 
> Christmas Music 24 Hours a Day, 7 Days a week
> http://www.ChristmasMusic247.com
> 
> "Injustice anywhere is a threat to justice everywhere."
> - Martin Luther King Jr.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list