Using different domains for different language
-
Hello
I prepare a multilangue website and before it is online i would like to confirme the method : i wouldn’t make mistakes.– My domaine .fr and .com will redirect to the same ip.
– In the setting of polylang plugin,
i just select ‘The language is set from different domains’ and for french http://www.domain.fr and for english : http://www.domain.com
and don’t select “The front page url contains the language code instead of the page name or page id”.– I read in a forum that i have to insert un code in the file config.php :
“By default, Polylang caches the home urls. You have to de-activate it by setting PLL_CACHE_HOME_URL to false either in wp-config.php or in (file to be created) wp-content/polylang/pll-config.php”
This post is one year old, is it always ok ?
Did i forgot anything ?
Thanks for your helphttps://wordpress.org/plugins/polylang/
[Moderator Note: No bumping, thank you.]
The topic ‘Using different domains for different language’ is closed to new replies.