Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

We're currently building a new responsive website. While working on the site map, we figured that we don't want to show certain sections on mobile devices. This can be easily done by hiding the navigation parts using CSS/media queries.

However, the trouble is that the hidden sites would still show up in search engine results. If a user happens to click on one of these links she might happen to see a badly formatted page as we'd use desktop/tablet only code to show images and video.

Is there any way influence the search engines to exclude certain pages if the search is done on a mobile device? Do search engines crawl pages once or with a device specific view twice? Could we set a noindex meta tag for a specific device class?

share|improve this question

The answer here is no. You can exclude pages from being crawled and indexed in a variety of different ways, but this would remove the page from Google's indexe regardless of device.

You can however block pages from being crawled in Google's mobile search results, however the pages will still appear in normal search results regardless of device, and I think most Smart Phones use the normal Google index these days.

If you would like to block page from being crawled in Google mobile indexed Add the code below to your robots.txt file, and add the relevant pages to be blocked.

User-agent: Googlebot-Mobile
Disallow: /examplepagetoblock.html
Disallow: /examplepagetoblock2.php
share|improve this answer

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.