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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 5 replies, has 3 voices.

Last updated by Marcel 1 year, 10 months ago.

Assisted by: Marcel.

Author Posts
January 25, 2023 at 2:16 pm #12891003

dennisv-7

With the site of Super Seat we use the following urls for multi language:
hidden link for Dutch
hidden link for German

This is set up according the WPML docs (and some support tickets). But when a visitor goes to hidden link it got redirected to hidden link and not hidden link.

How can I fix this?

January 25, 2023 at 2:29 pm #12891137

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

thanks for contacting us.

I am not sure if this is caused or affected by WPML, probably your hosting/redirect rules. I have checked the www URL and can see there is a redirect set, the image attached.

In order to confirm if this is caused by WPML, I suggest disabling WPML plugins and checking if the issue still happens.

Let us know how it goes.

Regards,
Drazen

Screenshot_2.jpg
January 26, 2023 at 1:31 pm #12897823

dennisv-7

Hello,

I cannot simply deactivate WPML with this site. So that isn't possible at the moment. I'll try contacting my hosting. Maybe they know a solution for this.

January 26, 2023 at 6:15 pm #12899887

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

as best, you clone your site to a staging environment and route the real domains to the IP of your test server via our hosts.ini file. This way, you can simulate the same environment using real domains without affecting the traffic from real visitors, as it will only route to that server on your local system.

Based on the redirect route my colleague posted, it's handled from WP itself and not caused by WPML.

Best Regards
Marcel

January 31, 2023 at 11:29 am #12929071

dennisv-7

Hello Marcel,

I have an older version of this site on another server. The site was recently moved to new server. Can it also be used to test this?

Where can I find taht hosts.ini file?

Let me know.

Best regards

January 31, 2023 at 11:53 am #12929251

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

so long you can simulate the exact domains, any test environment should be fine. You can find the host file depending on your operating system as described here: hidden link.

Best Regards
Marcel

The topic ‘[Closed] difference between with www. and without’ is closed to new replies.