Quote Originally Posted by tonibarcelona View Post
I haven´t tested, so please report if it works.
Thanks a lot, it works except that it never defines the "en" language.

If I use your first solution then I get this:
<link rel="alternate" href="http://www.mysite.com/es/blahblah" hreflang="es" />
<link rel="alternate" href="http://www.mysite.com/en/blahblah" hreflang="x-default" />
<link rel="alternate" href="http://www.mysite.com/en/blahblah" hreflang="en" />

If I use your second solutioin then I only get this:
<link rel="alternate" href="http://www.mysite.es/es/blahblah" hreflang="es" />
<link rel="alternate" href="http://www.mysite.co.uk/en/blahblah" hreflang="x-default" />

(the domains are correct but the hreflang for english is missing).


Quote Originally Posted by tonibarcelona View Post
I have a question for you: Do you run both domains with the same installation.? If so, how do yo do it, with the multisite mod?
Yes, I have both domains on same server (and same zencart installation). I only have the CEON module installed, and then I have the following redirection in my htaccess file:

RewriteCond %{HTTP_HOST} ^(www\.|)tronicore\.dk$ [NC]
RewriteRule ^(da)/.* [QSA,L]

Im not sure this is the right way to do it, but it seems like its working except for the hreflang tags. You can see it here www.tronicore.co.uk.