Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Is there any markup or meta-tag which I can place in the pages of my website to tell crawlers which pages are either for web or for mobile?

share|improve this question
    
Is this a separate mobile site, or do you use responsive design? –  DisgruntledGoat Apr 10 '13 at 11:05
add comment

1 Answer

Basically on a main website you should use metatag:

<link rel="alternate" media="handheld" href="http://phone.example.com/page.html" />

Where http://phone.example.com/page.html is an URL to mobile version of a page user is viewing right now. That's probably the easiest way to solve things. But in general you should use responsive design.

You can get more information on Google Support:

share|improve this answer
add comment

Your Answer

 
discard

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.