E
E
Evgeniy V.2019-11-15 06:17:43
htaccess
Evgeniy V., 2019-11-15 06:17:43

How to make a redirect to the English version of the site if the user comes from European and American servers?

Website on wordpress, we made an English version and you need to redirect users who logged in from European and American servers to it, how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-11-15
@volkovecgenei

users do not come from servers, but from their own devices.
once again I chew on a simple truth: the language should be given not by the address, but by the user's settings.
https://developer.mozilla.org/ru/docs/Web/HTTP/Zag... for help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question