Skip Navigation

[Resolved] CPT category archive displaying /blog/ slug instead of CPT slug

This support ticket is created 4 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: Africa/Casablanca (GMT+01:00)

Author
Posts
#1586739

Hello,

I have created a custom post type 'Before & Afters' (using /photogallery/ slug) and I want to set it's URL structure to /post_type/taxonomy/term/. This is working for Before & After archive page (hidden link) and Before & After single items (hidden link) but the Before & After category archives keep displaying /blog/ instead of /photogallery/ (hidden link). Is there a way to fix this? Thanks

Best,
Ivan

#1586791

Hello and thank you for contacting the Toolset support.

I suppose that you are using the default Categories taxonomy for your custom post type, right?
In this case, it is expected that the categories archive pages follow the permalink structure for categories in Settings->Permalinks.

I hope this helps. Let me know if you have any doubts.