Skip Navigation

[Resolved] Modify Permalink

This support ticket is created 3 years, 8 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 3 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#2061373

I have created a custom post type 'Consultany' and a custom taxonomy 'Speciality' associated with 'Consultancy'

on the taxonomy archive page, the URL should be
hidden link

instead its,
hidden link

Site URL: hidden link

#2062437

Hello,

It is possible, for example, you can edit your custom taxonomy 'Speciality', in section "Options", enable option "Rewrite", option "Replace taxonomy slug with this", fill value: consultany/speciality

And don't create any "consultany" post with slug "speciality", it might conduct unexpected conflict.

More help:
https://developer.wordpress.org/reference/functions/register_taxonomy/

#2063527

and when viewing a single consultant, the URL structure should be :

hidden link

the digital-marketing part should be dynamic, its the custom taxonomy term assigned to each consultant

right now its :

hidden link

#2063699

For the new question:
when viewing a single consultant, the URL structure should be

There isn't such kind of built-in feature within Toolset plugins, Toolset Types plugin is using WordPress built-in function register_post_type() to create new custom post type:
See WP document:
https://developer.wordpress.org/reference/functions/register_post_type/
'slug'
(string) Customize the permastruct slug. Defaults to $post_type key.
It can not use taxonomy terms in the post slug.