This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi there –
I know that I can use RainLab's Translate plugin to publish different versions of content on the same domain. For example, I could have English and Spanish versions of the same welcome page at URLs like these:
http://example.com/en/welcome
http://example.com/es/welcome
My question: is it possible to use the domain (rather than a URL prefix such as /en/
or /es/
) to tell October which version of the content to serve?
http://englishsite.com/welcome
http://spanishsite.com/welcome
It looks like I might be able to override routes.php in the rainlab/translate plugin – but has anyone ever done this successfully? Will October work properly if I have a single install being served on multiple domains? Is there a better way to accomplish what I'm trying to do?
Thanks!
1-2 of 2