Skip Navigation

[Resolved] Append Taxonomy Slug to Custom Post Type

This support ticket is created 2 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 2 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2623361

I have Post Type "Cars" and Taxonomy "Models".
Cars (Car Review of the given model)
Models (Make/Mode = Honda/Civic, or Dodge/Charger)

Current URL Structure is re-written using toolset rewrite option as below
Cars: domain/new-cars/cars/honda-civic-review
Models: domain/new-cars/models/Honda/Civic

What i want to achieve is to have following url format in Cars and Models
Cars: domain/new-cars/honda/civic/honda-civic-review
&
Models: domain/new-cars/honda/civic

Is there any documentation that you are following?
I have used wordpress plugins, but there are limitations in plugins, i can not have hierarchical posts, with plugin. or i can use taxonomy with 2 different post types to have same url structure
I also tried to follow the 2 tickets and solutions/articles provided in it from 4-5 years old threads, both work for re-writing but cause errors, so none of the existing solutions worked for me

What is the link to your site?
working site is hidden link

#2623521

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no feature available to achieve this using Toolset and requires custom programming. But there are several URL rewrite plugins available that you should use.

I suggest you should use the plugin such as that will help you to format your permalink as per your need:
=> https://wordpress.org/plugins/wp-better-permalinks/
=> https://wordpress.org/plugins/custom-permalinks/
=> https://wordpress.org/plugins/permalink-manager/