Regarding multiple domains problem in CMS6

Vote:
 

 

Dear All,

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.

www.abc.com/en-gb/
www.abc.com/en-us/
www.abc.com/en-au/

By reading the epi-manual, i have successfully implemented the first step which is
to implement multiple domains using different languages. Now my websites are appearing
under 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 redirected
to 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 have
a sample code to help me out on this.

Many thanks on this.

#42049
Aug 06, 2010 12:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.