I am facing a problem with multiple domain strategy on my epi website cms6.I have a website which is running under three different languages i.e.
By reading the epi-manual, i have successfully implemented the first step which isto implement multiple domains using different languages. Now my websites are appearingunder different domain, and each domain is following that particular language.
www.abc.co.uk (is using en-gb)www.abc.com (is using en-us)www.abc.com.au (is using en-au)
This is running perfectly as required, but if any user mistakenly type the url.www.abc.com/en-gb/login, he is still be able to use that link. What i want here to create a rule to enforce them to redirect them back to that particular domain. For example if a user type www.abc.com/en-gb/login, he should actually get redirectedto www.abc.co.uk/login page.
Can someone help me on this how to do it? I know i have to write here my own code, does anyone havea sample code to help me out on this.
Many thanks on this.