Yes, I have read those articles. But I am not sure if this is what I am looking for. :)
This seems to be redirects. I am looking for links (canonical/alternativ) in the header, for the search engine only. Not for the users.
This is what I would like to achieve for a mobile site:
http://m.mysite.com/some-page - mobile site with this in the header:
<link rel="canonical" href="http://mysite.com/some-page" >
http://mysite.com/some-page - regular site with this in the header:
<link rel="alternate" media="only screen and (max-width: 640px)" href="http://m.mysite.com/some-page" >
One can add this manually. But that would be very time consuming if it needs to be done on a larger website.
This type of redirection could be very critical to pages that isn't responsive as this will start to affect Google ranking by 21 april.
The redirections for my multilanguage site works fine. I still can't see any tags like these though:
<link rel="alternate" href="http://mysite.com/en-us/some-url" hreflang="en-us" />