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 Bruno Kos 11 months ago.

Assigned support staff: Bruno Kos.

Author Posts
July 2, 2019 at 7:41 am #4124729


Hi There,

I would like to redirect /id-id language code to hidden link
Currently the bigger traffice is reached through /id-id but we don't have this language code.

Can I create this code? And redirect traffic from this (id.-id) to id language code?

Thanks a lot,

July 2, 2019 at 7:49 am #4124769

Bruno Kos

Languages: English (English )

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


Thank you for contacting WPML support!

You could create your own custom language, setting up custom language code in the process:

And then perhaps duplicate all the pages from id-id to this new language. It would be something in those lines:

While this is why you cannot change this directly:

You could also consider hiring some of our Contractors to do the job for you:

Because I would assume that something like this will require htaccess redirect rules and thorough testing.

Bruno Kos