Saltar al contenido Saltar a la barra lateral

Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.

Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 16:00 7:00 – 16:00 7:00 – 16:00 7:00 – 16:00 7:00 – 16:00 -
- - - - - - -

Zona horaria del soporte: America/Managua (GMT-06:00)

Este tema contiene 4 respuestas, tiene 1 voz.

Última actualización por David Gaitan hace 1 mes, 2 semanas.

Asistido por: David Gaitan.

Autor Publicaciones
febrero 16, 2026 a las 11:13 #17825423

patriciaF-12

I'm contacting you regarding an issue we’re seeing with the custom post types on our website.

We have a couple of custom post types set up (for example, “Services” and “Sectors”). The content inside each post has been translated correctly, but the URL slug of the custom post type itself is not translating.

For example, when viewing the Spanish version of the site, the individual entries are translated, but the URL still shows:

msxcro.com/es/services/content-in-spanish instead of the Spanish equivalent
/sectors/ instead of the translated version

It seems the issue is related to the custom post type slug configuration rather than the content translation itself.

Could you please advise where this can be adjusted? Is this something that needs to be configured within WPML settings, or does it require changes in how the custom post types were originally registered?

Thank you in advance for your guidance.

Best regards,
Lucia

febrero 16, 2026 a las 11:20 #17825434

patriciaF-12

I'm contacting you regarding an issue we’re seeing with the custom post types on our website.

We have a couple of custom post types set up (for example, “Services” and “Sectors”). The content inside each post has been translated correctly, but the URL slug of the custom post type itself is not translating.

For example, when viewing the Spanish version of the site, the individual entries are translated, but the URL still shows:

msxcro.com/es/services/content-in-spanish instead of the Spanish equivalent
/sectors/ instead of the translated version

It seems the issue is related to the custom post type slug configuration rather than the content translation itself.

Could you please advise where this can be adjusted? Is this something that needs to be configured within WPML settings, or does it require changes in how the custom post types were originally registered?

Thank you in advance for your guidance.

Best regards,
Lucia

febrero 16, 2026 a las 15:33 #17826428

David Gaitan
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: America/Managua (GMT-06:00)

Hi Patricia,

I'm David, WPML Dev and I'm here to help you finding the solution to the issue you are facing regarding the custom post types slugs.

This is a common issue that regularly would be fixed by changing/verifying some WPML settings. Please let's go together through these steps.

1. Let's start validating if you have the slug translation enable by going to WPML > Settings > Slug Translations. You must have the checked the uniq option you'll see there. (see 1st screenshots attached). Please save and reload the page.

2. Then, on the same WPML settings page, let's scroll down a bit to the section called "Post Types Translation". Please ensure that your custom post types are selected to be translated (you probably have this selected already). However, let's ensure you have the post type slug setup too by clicking on the option you'll see under each custom post type. The option is labeled by "Set different slugs in different languages for {Custom Post Type}.", please click that and a little form will be expanded and you'll be able to set the post type slug for each language. (see 2nd screenshot)

3. Please save the settings and go to the custom post types to verify that everything works. If it doesn't work, let's flush the permalinks by going to WordPress > Settings > Permalinks and then scroll down until the "Save" button. Please save the button and that will be enough to reset the permalinks. Then please go back the custom post types and confirm if it works.

Please let me know if these changes works.

Best,
David

Screenshot 2026-02-16 at 9.32.32 AM.png
Screenshot 2026-02-16 at 9.25.40 AM.png
febrero 24, 2026 a las 09:23 #17845241

patriciaF-12

I’m contacting you because I’ve updated the settings as indicated in your previous email. However, the issue is still happening and the content appears to be mixed.

What I’m noticing is the following: in my WordPress setup, the page “Servicios” is correctly displayed with the URL slug “servicios.” But when I load the custom post types that belong to the “Servicios” custom post type, the URL appears as “services” instead of “servicios,” as if that part is not being translated.

I’m attaching a screenshot of the URL and another one of the WPML configuration so you can see that WPML seems to be set up correctly, but the URL structure is still showing in English.

Could you please help me understand why the custom post type slug is not reflecting the translated version?

Thank you in advance.

Best regards,
Lucia

Captura de pantalla 2026-02-24 a las 10.20.11.png
Captura de pantalla 2026-02-24 a las 10.19.11.png
febrero 24, 2026 a las 13:26 #17846953

David Gaitan
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: America/Managua (GMT-06:00)

Hello Patricia, nice to hear back from you.

Thanks for sharing your details about the issue you're facing. I think at this point, is a bit complicated to know what is happening on your site. The post type slug setting should have solved the issue but looks like it didn't fixed it at all and additionally, you are seeing new errors.

Will be hard to keep giving you guidance without having access to the site. Is better if I take a look at the site and see what could be really causing this problem. Do you mind if you share access with me? I have restrictions to use professionally the access we get from customers to check their site, so feel 100% sure that we are going to explicity use this access to help you find your issue.

IF you agree, I'll need you to add the access on the form you'll see above. It will ensure that your access is not public visible and only us will be able to see it. That way we keep it secure.

I'll be attentive,
Thank you!
David

El tema '[Cerrado] Custom Post Type Slug Not Translating in URLs' está cerrado a nuevas respuestas.