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: America/Los_Angeles (GMT-07:00)

This topic contains 7 replies, has 2 voices.

Last updated by Bobby 1 year, 11 months ago.

Assisted by: Bobby.

Author Posts
July 21, 2023 at 12:10 pm #14079861

toncaC

I bought wpml, I set multicurrency to the language of the site. I bought wpml redirect based ip. It doesn't recognize me properly. I enter from Germany and the site still shows me in Romania

July 21, 2023 at 9:42 pm #14082185

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi There,

I can see you are using the plugin "WPML Redirect Based on IP Country".

It is important to note that the plugin will not work if you have any caching plugins activated. Please verify this.

https://wpml.org/plugin/wpml-redirect-based-on-ip-country/#:~:text=Shows%20a%20popup%20when%20a,you%20have%20caching%20plugins%20installed.

July 23, 2023 at 8:08 am #14084081

toncaC

[removed]
I uninstalled the cache modules but it still doesn't work. He created an account for you to log in to my site and see what the problem is. Please help her and make everything related to wpml functional

July 24, 2023 at 7:40 pm #14092405

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

Please note our forum is public and we do not recommend sharing sensitive information outside of a private reply.

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

July 25, 2023 at 8:37 pm #14098857

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the access details!

I was able to Add United States and map it to English which then in return worked as expected when testing.

Additionally, I enabled a VPN for Germany and this worked as expected as well.

When I visit the Homepage I am redirected to the German /de/ version.

Please re test using an incognito browser and let me know your results.

July 29, 2023 at 9:31 am #14120753

toncaC

Thank you for help. I tried to enter the website but it still works like that. Some friends who live in Germany also entered the site and it also appears in Romanian. Probably the language of the browser also matters. With vpn it works. I have a request if you can help me. I read on the forum and I would like to clone the English language in co.uk for England. I think that the .com domain does not help me for UK clients. Can you help me ?

July 29, 2023 at 9:37 am #14120785

toncaC

I have now checked redirection with vpn but it does not work

July 31, 2023 at 6:52 pm #14129225

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

Regarding the redirect I have found the issue.

The redirect will work the first time the user visits your site. WPML Redirect Based on IP Country has a 120min session expiration, so it will happen either the first time somebody has visited OR after the session expires.

This is done to allow users to change their language, otherwise, there would be a constant redirect back to German creating a loop.

You can see the author discuss this here:
hidden link

Regarding the co.uk question, please provide me some additional info to better understand.

If I understad correct you want to use co.uk instead of .com

At the moment the EN version is .com/en since you are using the directories language URL format. To use .co.uk it would require you to switch to "a different domain per language"

This would get applied to all your languages.

https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/

The topic ‘[Closed] Wpml is not working properly’ is closed to new replies.