Skip Navigation

[Resolved] Category based slug

This support ticket is created 5 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by terryR 5 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1382365
Screenshot 2019-11-13 at 17.48.18.png

Tell us what you are trying to do?

Hello, I would like to ask you for helping me building a category slug structure for a CPT.

I am going to have 4 Custom Post Types which are going to share two taxonomies - one is for Main Category and another for Sub Category.

Currently the post type is showing like - /custom-post-type/post-name/

I will need to make it /custom-post-type/main-category/sub-category/post-name/
(the two taxonomies which are created to be displayed in the slug construction of the website)

I will appreciate if you can advice me how to make this happen.
Best Regards.

#1382401

Hello, Toolset isn't really designed to create custom permalink structures like this. Toolset's permalink structures are based on WordPress standards, and the format you have described isn't a standard implementation. Usually this type of customization requires a 3rd-party plugin designed to create custom permalinks, or custom programming that falls outside the scope of support we provide here. I would try a few custom permalink plugins to see if any one offers the type of URL structure you want here. Normally Toolset's custom taxonomies work well with those plugins, since they are publicly registered using WordPress standards.

#1382451

Thank you for the fast response, Christian .
Looking forward for a suggestion for a 3rd party plugin so I can try and do the structure described.
Best Regards.

#1382551

I don't have a specific recommendation, this isn't really our specialty here. You can try searching the WordPress plugin repository here: https://wordpress.org/plugins/search/custom+permalink/

#1384537

My issue is resolved now. Thank you!