Hi guys, We have got our domain name in several different countries TLDs, e.g. example.de example.fr example.es But our site is on a .co.uk.. What I want to do is check which domain the user came through and send them to a translated landing page.. eg: .co.uk/store/f_landing?fl=de What is the most effective way of doing this? Guessing it may need a mod_alias or rules in .htaccess?? Hope you can help
If each has it's own web space then just forward each domain to the appropriate target. If they are all parked on top of the .co.uk then something like the following in .htaccess should do the trick: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?example\.(de|fr|es) RewriteRule (.*) http://www.example.co.uk/$1?fl=%2 [R=301,L] Code (markup):
I am making changes to the .htaccess but it is having no effect. I think some other process must be getting there before it. Any ideas?
Are your non-.co.uk domains parked on the .co.uk, that is if you go to example.de do you see the .co.uk? If yes that can you post your whole .htaccess or PM it to me if you don't want it public? If no then the above will not work, I'll have to give you different code for each domain
Well assuming it is parked then you need to remove the redirect to make the code I gave you work, would need to see your .htaccess for the .co.uk to be able to do much more.