In my wordpress installation, i’ve a default permalink-structure for all my blog posts. For example ‘blog’.
In this forum post, i’ve described the solution of multiple taxonomies below a custom post type in the permalink structure with the rewrite setting.
To change the rewrites in my portfolio custom post type from
I used the rewrite setting “with_front”:
register_taxnomomy('portfolio-category', array('portfolio'), array('rewrite' => array('slug' => 'portfolio/category'), 'with_front' => false));
The permalink looks now ok, but the redirection ends in an 404 error.
I know this is currently a common problem. I’ve reverted all settings, the newest nighly build, no plugins and reloaded the permalink table. This must be an error in the nightlybuild itself.
The same setting in the register_post_type works without any problems.
-> Ticket: http://core.trac.wordpress.org/ticket/11449
- The topic ‘register_taxonomy with rewrite param “with_front” ends in error 404’ is closed to new replies.