← Back to Multi Domains Support
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!
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):
- Domain Url to bind to select page set to: https://en.example.com/projects
- Select locale set for this Bind: en
- Page: ALL_THEME_PAGES_WITH_REQUEST_PATH
and add code to the template:
function onSwitchLocale()
{
return Redirect::to($this->page->redirectUrl);
}
Thank you for your interest in the plugin!
Last updated
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