How can I get Drupal 8 to use different landing pages for different countries?
I can create the pages but how do I tell Drupal which page to show for each country? Is geo location the only way, or is there another way?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
First thing is, how are you identifying your user's country?
Id depends on how accurate you need this.
Once you translate the information to an actual country. Then you can decide what to show.
Something to keep in mind is the penalty for this. Instead of showing a different page per country, you might consider showing the same page and maybe via some JS modify an element once you have the location.