293 posts
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Europe
  • Bought between 50 and 99 items
  • Referred between 10 and 49 users
  • Envato Studio (Microlancer) Beta Tester
  • Has been a member for 3-4 years
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!

1466 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Croatia
OriginalEXE says
293 posts
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Europe
  • Bought between 50 and 99 items
  • Referred between 10 and 49 users
  • Envato Studio (Microlancer) Beta Tester
  • Has been a member for 3-4 years
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