Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

Tagged: 

This topic contains 1 replies, has 0 voices.

Last updated by Andreas W. 1 day, 10 hours ago.

Assisted by: Andreas W..

Author Posts
July 18, 2025 at 1:40 pm

gerasimH

Background of the issue:
I am experiencing a problem with the archive URL generation for a non-translatable custom post type (Webinars) in WPML on my site hidden link. I am trying to resolve an issue where WPML is generating a language-prefixed archive URL for a custom post type that is set as non-translatable, specifically affecting the Spanish language.

Symptoms:
Unexpected archive URL /es/webinars/ is generated for a non-translatable custom post type, causing redirects to the homepage.

Questions:
Why is WPML generating a language-prefixed archive URL for a non-translatable custom post type?
How can I prevent WPML from causing redirects for non-translatable custom post types?

July 18, 2025 at 2:47 pm
July 18, 2025 at 4:28 pm #17251479

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I can sadly still not log in. The dialog asked me to enter my email to receive a login code, but the email never arrived.

The problem here might be that if the post type is set to "Not translatable", then WPML is ignoring it, and this might be why your theme template works in both languages.

If you do not plan to translate the CPTs, I suggest setting them to "Translatable - only display translated content," which should typically resolve the issue.