Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wants to add a custom slug to their homepage URL and have the ability to translate this slug.
Solution:
We do not have a tool within WPML to directly accomplish this. The client will need custom development or at least a custom rewrite rule. We recommend following the guidance on creating a custom rewrite rule as described in this Stack Exchange post.

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 3 replies, has 3 voices.

Last updated by Marcel 1 year, 5 months ago.

Assisted by: Marcel.

Author Posts
November 3, 2023 at 12:45 pm #14725759

TPFCuser

Tell us what you are trying to do?
i want to have a slug connected to my homepage instead of soleley genderhealthclinic.com but genderhealthclinic.com/transgenderaffirmingcare-genderclinic
And this slug i wanrt to be able to translate.

Is there any documentation that you are following?
i couldnt find. Most time it is the other way around

Is there a similar example that we can see?

What is the link to your site?
hidden link

November 5, 2023 at 1:20 pm #14733061

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Before this ticket is assigned to one of my colleagues I will add the first reply.

WPML does not have such a feature and you need to find a solution in general WordPress instead of WPML for such a thing.

WPML can give you the option to translate the slug:

https://wpml.org/documentation/getting-started-guide/translating-page-slugs/

But it can not make the slug appear on the homepage.

Thanks.

November 6, 2023 at 7:19 am #14734993

TPFCuser

Hi Christopher,
Okay that is clear. Do you know if there are any wordpress tools that can do this and that will work with your tool?
best wishes
Catharina Anastasia

November 6, 2023 at 8:45 am #14735641

Marcel
WPML Supporter since 02/2019

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi Catharina,

I'm not aware of any tools for doing this, so I can't tell you any tool which works with WPML.

This will need custom development or at least a custom rewrite rule as described here: https://wordpress.stackexchange.com/questions/248111/is-it-possible-to-create-slug-on-homepage-and-how.

Best Regards
Marcel