Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing a site with a mobile version and am trying to figure the appropriate way to manage the URLs for search engines. So far I've considered:

  1. Having a separate mobile site (m.example.com) with rel="canonical" links to the regular site.
  2. Putting both the mobile site and full site on one URL (example.com), and doing user agent sniffing.
  3. Another opinion:

Spencer: "If you have a mobile site at a separate location or URL, you should 301 redirect each and every mobile page to its corresponding page on your main website. Employ user agent detection so that the mobile optimized version is served up if someone's coming in from a hand-held. - http://developer.practicalecommerce.com/articles/1722-Mobile-site-Development-Best-Practices-for-SEO-Usability

Both 2 and 3 make it hard for a user who wants to switch to the full site or mobile site manually, but I'm not sure 1 is the best alternative.

What's the best way to write URLs for a mobile site?

share|improve this question
up vote 2 down vote accepted

I know this question is old, but Google now provides better guidelines on how to develop website for Desktop and Smart Phones.


share|improve this answer
I'm wondering why google doesn't follow its own advice. They've always done UA sniffing. – themihai Jul 8 '14 at 5:38

This recent blog post from Google might be helpful

share|improve this answer
Hey, that's a great resource, but I read through it and don't feel that it answers the question. – Chris Feb 23 '11 at 4:48
The comments didn't answer it last I checked, but people are asking the right questions so hopefully there'll be an answer there soon: google.com/support/forum/p/Webmasters/… – Chris Feb 23 '11 at 4:51
That links to the root level of the Google Webmaster Central blog. Were you trying to link to googlewebmastercentral.blogspot.com/2011/02/…? – phenry Jun 8 '11 at 18:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.