296 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
cosmincotor says

Hi guys, I’m working on a project right now and can’t figure something out.

I have two taxonomies for the same post type

- taxonomies: “developers”, “customers”

- post type: “project”

Projects can be assigned to customers and developers.

How can I set the permalinks to look like this when I visit a single project page:

webisteurl.com/customers/customer-name/projects/project-name

Right now I got the archive working for the customers and developers taxonomies:

websiteurl.com/customers/john

but the project URL looks like this

websiteurl.com/customers/projects/project-name

So right now I’m missing the customer name from the permalink structure.

I hope you understand what I want to achieve and can help me out :)

Thank you!

1481 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
OriginalEXE says
296 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
cosmincotor says

While a good find, that’s not the problem I’m facing. I’m not trying to get both taxonomies to show up in the permalink structure, I only need one.

Right now I’m using “rewrite” to get the single project permalink structure to look like this “customers/projects/project-name”. But I can’t figure out how to inset the name of the “customer” between “customers” and “projects”.

by
by
by
by
by
by