Skip Navigation

[Resolved] Create URLs from multiple taxonomy terms

This thread is resolved. Here is a description of the problem and solution.

Problem:
Create URLs from multiple taxonomy terms and add taxonomy slug in URL

Solution:
There is no native feature available to customize the links but I've few links to offer you that will help you to resolve your issue.

You can find the proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/create-urls-from-multiple-taxonomy-terms/#post-1234936

Relevant Documentation:
https://shibashake.com/wordpress-theme/add-custom-taxonomy-tags-to-your-wordpress-permalinks

This support ticket is created 5 years, 9 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 2 replies, has 2 voices.

Last updated by tech-opsE 5 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1234446

I have created a custom taxonomy by using the Toolset Plugin. Now I want to create custom URLs for a custom post type only using Taxonomy terms that belong to a particular post.

For example, I have created a custom taxonomy named "Parent". Within the "Parent" taxonomy, I have created several terms. Let's say they look like this:

Parent Taxonomy Terms:
Child1
Child2
Child3
Child4
Child5

Now within one of the posts for that custom post type, let's say I select the terms "Child2" and "Child5". I want URLs that will contain only those taxonomy terms. By default, when I try to create the following Permalink structure for this Custom Post Type, it will allow for URLs to display that post for all of the Taxonomy Terms.

Permalink Structure: hidden link

The following URLs should only allow for that custom post type to be displayed:
hidden link
hidden link

If a user tries to type this URL, it should result in a 404 or a redirect but instead, it is currently displaying the post:
hidden link

#1234936

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - I understand that you wanted to add taxonomy term slug with your post type slug.

There is no native feature available to customize the links but I've few links to offer you that will help you to resolve your issue.

Please check the following links:
=> hidden link
=> https://toolset.com/forums/topic/custom-taxonomies-not-showing-on-permalink/#post-16949

#1235322

My issue is resolved now. Thank you!