Multi Domains

Create multiple domains or url and bind this to arbitry theme or page/staticpage with extending routing rules use single CMS installation (support backend)

Back to Multi Domains Support

dmartin022
dmartin022

Hi, We have a website that is translated to 6 different languages. All languages has own domains like: [English] example.co.uk, [German] example.de, [French] example.fr etc..

Today we use WordPress with WPML plugin that works perfectly. However we want to switch to October CMS and buy your plugin but prior that we want to know if our example above is achiavable.

This is how WPML multidomain works: https://wpml.org/tutorials/2016/04/use-wpml-different-domains-per-language/

With other words we want exactlhy the same approach in October CMS, with the different domain per language option.

Example: https://example.co.uk/projects/ and https://example.fr/projects/ is the same page translated to different languages but reached from two different domains.

Is this approach working with your plugin and how?

Thanks a lot!

Linkonoid
Linkonoid

Hi, If I understand correctly, then you plan to use RainLab.Translate for translation?

It should work exactly for domains containing "localeName" in the subdomain name, i.e.

  • en.example.com > English
  • de.example.com > German

at the following settings (in RainLab.Translate the option "add locale prefix" is disabled):

and add code to the template:

function onSwitchLocale()
{
      return Redirect::to($this->page->redirectUrl); 
}

Thank you for your interest in the plugin!

Last updated

dmartin022
dmartin022

Hi and thanks for the fast answer.

Linkonoid
Linkonoid

Plugin update to 1.4.2.

Added new extended methods work with localization using locale to TLD mapping table in plugin general settings. Added lite bindings interface on default. Other little changes and bug fixes.

Last updated

1-4 of 4