Saltar navegación

[Resuelto] Rewrite permalinks option not working with nested CPT

This support ticket is created 3 years, 5 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 -

Zona horaria del colaborador: Asia/Karachi (GMT+05:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Waqar 3 years, 5 months ago.

Asistido por: Waqar.

Autor
Mensajes
#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:
enlace oculto

but if I have nested clients, I get a 404 error:
enlace oculto

#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