Saltar navegación

[Resuelto] 404 status instead of 200 for a CPT

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

I've changed some settings in the past in the CPT "Ski-Station".
Maybe it's coming from there but I can't display the related pages. It shows a 404 status.

Solution:

Please try to reset them to default settings, for example:

Dashboard-> Toolset-> Post Types, find and edit post type "Ski-Station", in section "Options"

1) enable option "Use the normal WordPress URL logic"

2) enable option "publicly_queryable"

Relevant Documentation:

This support ticket is created hace 4 años. 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/Hong_Kong (GMT+08:00)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por fabriceS hace 4 años.

Asistido por: Luo Yang.

Autor
Mensajes
#2119631

Hi

I've changed some settings in the past in the CPT "Ski-Station".
Maybe it's coming from there but I can't display the related pages. It shows a 404 status.
Could you please help ?

#2119633

for example:
enlace oculto

#2119711

Hello,

How did you change the settings of custom post type "Ski-Station"?
Please try to reset them to default settings, for example:
Dashboard-> Toolset-> Post Types, find and edit post type "Ski-Station", in section "Options"
1) enable option "Use the normal WordPress URL logic"
2) enable option "publicly_queryable"

You can create a new custom post type, and compare the settings easily.

#2121933

My issue is resolved now. Thank you!