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.

Our next available supporter will start replying to tickets in about 7.04 hours from now. Thank you for your understanding.

This topic contains 4 replies, has 2 voices.

Last updated by Kristof 1 month, 2 weeks ago.

Assigned support staff: Bigul.

Author Posts
August 10, 2022 at 1:46 pm #11842065

Kristof

Hi,

How do you translate the post custom permalink prefix?

August 11, 2022 at 8:01 am #11847909

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Our developers have confirmed there are limitations to translating the custom permalinks. Because it will create conflicts with other post types also.

Therefore as a workaround please try the following steps after a site backup.

1) Create a category *News*
2) Translate the category *News*
3) Assign posts to that category
4) Visit Settings>>Permalinks
5) Set the permalinks as */%category%/%postname%/*
6) Save the settings

--
Thanks!

Bigul

August 11, 2022 at 9:39 am #11848941

Kristof

"Because it will create conflicts with other post types also." Does this mean this feature will never be put on the roadmap?

Your workaround worked in this case because all posts were member of the same category, so I just had to rename the category. But on any site with multiple post categories, this workaround will never be possible.

August 11, 2022 at 12:33 pm #11849945

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. We will surely consider this feature. But as of now, there are many difficulties in the WordPress library to achieve this and it will be really time-consuming. So we don't have the exact time frame. Therefore it will be great if you can make a request.

https://wpml.org/suggest-a-new-feature-for-wpml/

If you are using SEO plugins like Yoast or RankMath, it will be possible to set *News* as the primary category. Please refer to the following links for more details.

hidden link

hidden link

--
Thanks!

Bigul

August 12, 2022 at 8:00 am #11855099

Kristof

My issue is resolved now. Thank you!