: Exclude pages from search results based on device class (mobile/desktop) We're currently building a new responsive website. While working on the site map, we figured that we don't want to show
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?
More posts by @Carla537
1 Comments
Sorted by latest first Latest Oldest Best
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.