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 Raja Mohammed 1 year, 4 months ago.

Assigned support staff: Raja Mohammed.

Author Posts
March 2, 2019 at 11:21 am #3264451


I have my main site with translated sites on different domains.

So I want to redirect the following:

hidden link
hidden link
hidden link

I want to have it so all version of the URL point to this version hidden link

Plus I want to do the same thing for all translated addon domains on my site.

Can you help with the code i would need to put into the htaccess file or any other way of doing this so it redirect all URL's homepage and internal URL's

March 4, 2019 at 12:58 pm #3268748

Raja Mohammed

Languages: English (English )

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

Hi there,

Welcome to our forum,

The issue is a generic one and not related to WPML. However, we would like to provide you with an external resource which would be very much helpful to solve your issue. Please follow the link for a detailed code on how to redirect www to a non-www version for both Http and HTTPS version.

hidden link

There is no specific rule for translation the generic code would be sufficient

I hope this helps you better.

Kind regards