Hi all,

I have two domain names directed to the same Drupal site. I would like visitors browsing to one domain name to see content in English by default. For the other domain name, I'd like them to see Spanish by default.

If this is even possible, I'd love to hear your suggestions for the 'best practice.'

TIA!

Comments

michaels23’s picture

FWIW, the solution I came up with was a simple usage of $db_prefix in settings.php:

$db_prefix = array(
'default' => 'peralta_',
'locales_meta' => 'peralta_abogados_',
);