I'm currently having a permalink problem that I can't seem to track down.
I'm using WP 3.0 with some custom post_types that I've made.
In this example, I'm using the custom post type "event".
This is my custom permalink structure:
This an example of the permalink that it provides me, that 404's:
However, if I enter the "default permalink structure" in to the url, such as:
Then it redirects me to this, which works:
It's weird how "/event/heres-a-title/" doesn't work (the permalink that wordpress gives me), but "/event/heres-a-title/?event=heres-a-title" does.
I followed some standard tutorials on how to properly create custom post types, even a tutorial that was supposed to stop these 404's.
Here's my register_post_type:
register_post_type('event', array( 'label' => __('Events'), 'singular_label' => __('Event'), 'public' => true, 'show_ui' => true, '_builtin' => false, '_edit_link' => 'post.php?post=%d', 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => array("slug" => "event"), 'query_var' => "event", 'supports' => array('title','editor') ));
Any help would be greatly appreciated. Even just a workaround to have all my custom post types permalink to the working structure would be great.