Skip Navigation

[Resolved] Rewrite permalinks option not working with nested CPT

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/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 1 year, 12 months ago.

Assisted by: Waqar.

Author
Posts
#2521341
Screenshot 2022-12-23 at 12.51.30.png

Tell us what you are trying to do?

I'm trying to have a custom URL for my client CPT. It works unless I have a client that's nested under another client. Please see below.

My clients post type is loading fine:
hidden link

but if I have nested clients, I get a 404 error:
hidden link

#2522311

Hi,

Thank you for contacting us and I'd be happy to assist.

I've performed some tests on my website with a similar CPT setup, but couldn't reproduce any unexpected behavior.

I suggest flushing WordPress rewrite rules by clicking the "Save Changes" button at WP Admin -> Settings -> Permalinks. Also, make sure that the post slug for this post ( i.e. 'kit-kat' ) hasn't been changed to something else.

Let me know how it goes and if you need further assistance.

regards,
Waqar