Replies: 0
Hello,
I’ve created custom post type ‘projects’ with the taxonomy ‘projecttype’ and I’m trying to get only the taxonomy into the permalink like this:
http://www.url.com/%projecttype%/ -> as overview page for every taxonomy
http://www.url.com/%projecttype%/%postname%/ -> the single post
Everything I tried results in things like:
http://www.url.com/projecttype/%projecttype%/ and http://www.url.com/projects/%postname/
where the slugs I’ve chosen in functions.php while registering the post type and the taxonomy is prepended
So how can I get now this permalink structure mentioned at first?
Another problem I encountered was that the post_type_link filter used with substituting a %placeholder% somehow affects all pages which results then in 404 errors for all other standard pages while this CPT thing still does not work.
Hope someone knows a solution to this one.
Regards,
DonTimo
- This topic was modified 11 minutes ago by DonTimo.