Forum

Thread tagged as: Question

Multi language site on multiple domains

I have a Perch site that currently displays multilanguage content using a simple folder structure pattern (/en, /de, /fr etc).

The client wishes to move each language to its own domain (.com, .de, .fr etc) and I'm wondering if there are any options beyond using a separate Perch install for each TLD.

Is it possible to serve each language from a single Perch install to different domains, for example? Or is that possible with Runway? Paying for extra licenses as needed isn't an issue of course, I'm just curious to see how best to manage the sites as easily as possible.

Thanks in advance for any suggestions.

Simon Kelly

Simon Kelly 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You could use PerchSystem::set_page() to rewrite each page into its corresponding subfolder.

https://docs.grabaperch.com/docs/developers/working-with-front-controllers/