Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: bakedjake
If I have a site... www.mydomain.com, how can I add a limited amount of mobile content?
Right now, if I go into google on my mobile phone and search, the site shows up decently in the search and google will show it. The pages render fairly well on an lg9900 envy even though they were done in frontpage.
What I'd like to do is create some alternate content for mobile devices. My thought is to add a 'click here for mobile content' link in the headers of the regular site. That would take the user to pages optimized for mobile devices.
I realize those mobile pages would have to follow mobile standards such as WAP or xhtml.
Some questions that come up are
1. Would that work at all? (ie adding mobile content to an existing domain instead of a seperate .mobi.
2. If it would work would it be better to do a subdomain such as mob.mydomain.com or a folder such as www.mydomain.com/mobile?
3. I'm assuming that I would filter out my regular sitemap to eliminate the mobile content and then create a mobile sitemap for google. Hopefully, if that is done right, I won't shoot myself in the foot with duplicate content (Actually, I'm going to use a site that hasn't really gotten a lot of traffic as a test instead of one of my better producers)
Thanks, I'd appreciate any thoughts that would get me started here.
My thought is to add a 'click here for mobile content' link
Most sites that serve mobile content on their main website detect mobile users from their user-agent header. I doubt that mobile users are going to be very happy with a "click here for mobile content" link.
Prior to .mobi, a convention had developed for putting mobile content on a host (please don't call it a subdomain, unless it has stuff under it!) called "mobile". e.g. mobile.example.com
OK, I found the answer. Apparently, Adsense for Mobile requires some server-side scripting on your site. They offer example code written in PHP, Perl, JSP, and ASP. Presumably, you can write your own for any other server-side scripting language. Not sure just why they require a script on your site, though. This cuts-out simple non-scripted sites.