I created 1 custom post type (projects) with 2 taxonomies (clients / fields) to filter the results (like categories).
At the end, it should be like this where project_name is the same custom post displayed in single-projects.php :
Like this, based on the re-written url, i’ll be able to easily display the current term selected and navigate post per post (in single-projects.php) within this specific term .
I’m using an archive to display all custom posts (archive-projects.php). The custom posts permalinks are like this : my-site/projects/custom_post_name.
I’ve got a taxonomy template (taxonomy.php) to display custom posts related to a term and it’s working well.
So far so good.
But permalinks are still like this : my-site/projects/custom_post_name. And i’d like to give them a different permalink based on the current taxonomy and get a different URL as written above.
I already found this and it’s working well in a standard case (a blog with few categories for example), but i got stuck when i’m trying to adapt to taxonomies. I can create the new url but can’t give it to the permalink post.
Any help or advice?