Skip Navigation

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.

This topic contains 1 reply, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 9 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 20, 2023 at 12:59 pm #14072439

andrzejM-9

I have a website with WPML translated into 3 languages. I created a custom post type, and for each language, I separately created a parent category named "blog" (WP automatically added "-pl" to the URL, which I removed from the database as recommended on the forum). For each language version, all posts are displayed without any problem under URLs like: mysite.com/blog, mysite.com/pl/blog, etc.

Additionally, I created separate subcategories for each language that do not have counterparts in the other language versions. For example, mysite.com/blog/cars, mysite.com/pl/blog/bikes. The problem is that when I save the permalink settings in WordPress for a chosen language, I can easily display posts from the subcategory on my website, but only in the language version for which I saved the permalink settings. In the other language versions, it doesn't work. If I save the permalink settings in the Polish (PL) version of my site, the subcategory in the English (EN) version stops working (subcategories are created separately and are not linked).

I have already tried to uninstall the plugin for custom post permalinks and Yoast, but it didn't change anything.

I would be grateful for a hint on whether WPML could have any influence on this issue.

www.zen.com_wp-admin_options-permalink.php (1).png
www.zen.com_wp-admin_edit-tags.php_taxonomy=category&post_type=blog.png
www.zen.com_wp-admin_edit-tags.php_taxonomy=category&post_type=blog&trid=0&source_lang=pl&lang=en&admin_bar=1.png
July 21, 2023 at 9:33 am #14077629

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Please note that for WordPress -> Settings -> Permalinks, there is only one version of the permalink settings, not different versions for different languages.

So switching to another language and saving 'll have no multilingual impact!

As for the "Custom Post Type Permalinks" plugin, unfortunately this isn't on our compatibility list. I advise you to contact the plugin author and request a compatibility update. WPML offers very useful information for developers aiming to make their themes/plugins compatible. Please see https://wpml.org/documentation/support/ and https://wpml.org/documentation/support/achieving-wpml-compatibility-for-your-themes-and-plugins/ for details.

Theme and plugin authors are welcome to join WPML’s Go Global program, which helps them make their code multilingual ready. Together with WPML’s compatibility team, they can test and confirm that their theme or plugin works with WPML. See https://wpml.org/documentation/support/go-global-program/ for details and you can refer your theme/plugin provider to this as well.

Regards.