|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
using asp to detect a wap device...
it has been suggested that one can use the http_user_agent variable to determine if someone has reached a web site with a wap device. if the results for http_user_agent contains 'mozilla' then its not a wap device. first of all...can anyone confirm this method. secondly...will google or any other search engines show 'mozilla' in their results for http_user_agent? one of my google hits shows this for google: Googlebot/2.1 (+http://www.googlebot.com/bot.html) another method suggested is to check for the http_accept variable. ...if 'text/vnd.wap.wml' is in the list...then its a wap device. which of these methods is the best? is there another method? my main concern is to prevent redirecting search engine spiders that reach my site. i only wish to redirect wap devices to a different version. any comments are appreciated. thanks!
__________________
columbus ohio architect | columbus ohio web site designer | sussex county new jersey business directory | columbus ohio |
|
#2
|
|||
|
|||
|
Re
Hi,
I would definitely go for the http_accept - variant. The user - agent variant has the following flaws: * some spiders might not reveal their true identity but rather mask as a "normal" browser, possibly to check if you're cloaking * There might be browsers that do not have "Mozilla" in their User-Agent-Value Regards Ralph |
|
#3
|
||||
|
||||
|
yep....
thats my gut feeling. i have been watching the http_accept results.... and i dont see any spiders showing up with 'text/vnd.wap.wml'. so it seems safe to use. thanks. :-D |
![]() |
| Viewing: SEO Chat Forums > Other > HTML Coding > redirecting wap without distrupting search engines |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|