View Full Version : Media handheld tag for Mobile
Dj Morri
05-14-2007, 03:05 PM
Hi, I was wondering if it is safe to place this tag on my page in order to redirect users whose coming from mobile devices to our mobile site URL.
<link rel="alternate" type="text/html" media="handheld" href="http://mysite.com/" title="Mobile/PDA" />
Thank you
It is safe to add but, this alone will not redirect users on a mobile device.
"REL" is an attribute that describes the relationship from the current document to the anchor.
http://www.w3.org/TR/html401/struct/links.html#adef-rel
You need something that detects the browser type and then redirects (ie http header). Even then there are various mobile protocols. You will need a site designed to handle or convert to each one!
Good luck!
Dj Morri
05-15-2007, 11:57 AM
Thank you for your quick response.
The idea is that the handheld tag alone would not redirect the page. But that Google would store the URL from the the handheld tag and when users access our pages via Google, it would automatically take users to the corresponding mobile page ?
Thank you for your quick response.
The idea is that the handheld tag alone would not redirect the page. But that Google would store the URL from the the handheld tag and when users access our pages via Google, it would automatically take users to the corresponding mobile page ?
You might also think about adding a "Google Mobile Sitemap" to your site.