Este é o fórum de suporte técnico para o WPML, o plugin para WordPress multilíngue.

Qualquer um pode ler, mas apenas clientes do WPML podem postar aqui. A equipe do WPML responde no fórum 6 dias por semana, 22 horas por dia.


This topic contains 2 respostas, has 2 vozes.

Last updated by angoexportI 1 mês, 3 semanas atrás.

Assigned support staff: Rohan Sadanandan.

Autor Posts
agosto 5, 2019 às 3:56 pm #4341765


Hi there, is there any way to change the SLUG of portuguese from pt-pt to just PT?

For instance, I want to have hidden link instead of hidden link

Please advise

agosto 5, 2019 às 4:28 pm #4342021

Rohan Sadanandan

Languages: Inglês (English )

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


Thank you for contacting WPML Support.

The language URL slug is the same as the language code.

If you want to have a different language code, you need to create a custom language:

1. You can create a new language by navigating to WPML -> Languages -> Site Languages -> Edit Languages. Then click on "Add language" & fill the fields. In the "code" text field enter your new custom slug(URL) for your new language(in your case it's "pt")

2. Then, duplicate the content to the new language(from "pt-pt" to "pt"). You can duplicate your content in bulk in WPML -> Translation Management.

3. In the end, delete the original content and later you can remove the original language.

You may set the content in the custom language to be translated independently after you duplicate the content.

Also, make a backup (both files and database) for your site before updating/proceeding anything (Always a good practice!).


agosto 26, 2019 às 1:24 pm #4459179


Hi there, first of all, thanks for the reply! Everything works fine, however I'm not abble to add the images, always giving errors