Welcome to WebmasterWorld Guest from 54.147.44.13

Message Too Old, No Replies

Problem With Google Mobile Code Example

     
5:30 am on Jun 24, 2013 (gmt 0)

Preferred Member

5+ Year Member

joined:Mar 21, 2009
posts:398
votes: 0


Google mobile code example at page [developers.google.com...]

for code examples:

<link rel="alternate" media="only screen and (max-width: 640px)" href="http://m.example.com/page-1" >

and

<link rel="canonical" href="http://www.example.com/page-1" >

should be

<link rel="alternate" media="only screen and (max-width: 640px)" href="http://m.example.com/page-1"/>

and

<link rel="canonical" href="http://www.example.com/page-1"/>

according to page

[support.google.com...]

Just reported it to google as I found the error building a mobile site. Surprised it was not caught earlier?
12:30 pm on June 26, 2013 (gmt 0)

Administrator from US 

WebmasterWorld Administrator goodroi is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 21, 2004
posts:3080
votes: 67


I think it might suggest that not many webmasters are manually implementing mobile solutions (as opposed to off the shelf solutions).
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members