i've got a 2 domain website.

Essentially, the two domain names are for my multilanguage site visitors. Things i require is to rewrite domain1.com/en/ to domain2.com, to ensure that user will have the ability to begin to see the british version from the site just by typeing the domain2.com within the address bar rather than domain1.com/en/. Any tips?

and btw: i am using php / apache..

EDIT:both domain names indicate exactly the same hosting account...


Add wrinkles for your .htaccess file within the root folder of the website.

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/en [L,R=301]

I am unsure you should use an .htaccess apply for another domain.
I believe you will need to experience using the domain DNS configurations.

Or make use of an iFrame as with 1996 :D