Language Domains Plugin
This plugin allows you to switch the domain-name as soon as a specific language is selected. Each domain is bound to a language, by configuring the plugin parameters. Once enabled, the plugin detects the current domainname, checks the current language, and redirects to a new domain if needed.
I just tested this plugin and I recommend it! Very simple to set up and immediately effective! Thanks :)
- Configure one domain per language
- Plugin redirects to applicable domain when language is switched
- Plugin modifies HTML-code to alter all links on the fly
Quick steps to get it working
- Install this plugin using the Joomla! Extension Manager
- Disable the core-plugin Language Filter in the Joomla! Plugin Manager
- Enable the plugin using the Joomla! Plugin Manager
- Configure the domain-bindings within the plugin parameters
A valid entry for domain-bindings could be:
en-GB=example.co.uk fr-FR=example.fr de-DE=example.de nl-NL=example.nl
Credits & Contributions
This plugin has received great improvements from various contributors for which we are very thankful: Jisse Reitsma, Ruud van Zuidam, Sérgio Alves.
Make sure to remove all cookies when you are testing with this plugin. Alternatively restart your browser.
Make sure to disable the System - Language Filter plugin, when this plugin is enabled.
When using caching, beware of using the Sytem - Cache plugin. Under Joomla! 2.5, that plugin does not cache content on a domain-level, so therefor all cache is the same for all domains. Simply put, plugins like ours are not compatible with the System - Cache plugin under Joomla! 2.5. Under Joomla! 3, using the cache-plugin is definitely possible. Test things first with the cache-plugin disabled. If you are enabling the plugin, make sure its ordering is higher than this System - Language Domains plugin - so that the cache-plugin is loaded after this plugin. Also make sure to wipe out the page-cache by using the Cache Manager.
GitHub open source contributions
Language Domains is an open source project, that you can help along with. If you have any improvements, send it to us: Use our public GitHub repository to send us a pull request, or send us a Gist of your code.
Get a Yireo Support Subscription
With a subscription, you get our professional support and full access to all downloads of this extension. In addition, all extension updates are shared with you. Great value for a low price!
All code of this extension is open source: You can use it in any way you want. It does not stop working after a specific time and you can install it on as many sites as you want.
Do you think Language Domains could be enhanced with a certain feature? Make sure to let us know.
You are the reason we build extensions and your valuable input makes our extensions better.
Please let us know by using our contact form.