Hello all!
Just doing some review of my coding and there is a piece of rewrite code that I am unsure of:
RewriteCond %{HTTP_ACCEPT} "text/vnd.wap.wml|application/vnd.wap.xhtml+xml" [NC]
The purpose is to detect mobile devices using a technique beyond useragent strings.
My biggest concern is around search bots. Would a Googlebot ever send a header like this and accidentally get past this check?
I want to avoid any mess or confusion in regards to my site's pages in the index. Currently I'm NOINDEX'ing all my mobile pages, but I also don't want to send the non-mobile googlebot into my mobile site by accident.
Does anyone see any problems with using the above header check along with user-agent checks for determining mobile devices hitting my site?
Thanks!