GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Mobile Redirect Code (https://gfy.com/showthread.php?t=1065549)

mromro 04-22-2012 02:06 AM

Mobile Redirect Code
 
this is the mobile detection code I use in my htaccess file. Am I missing any OS? What do you use?

RewriteCond %{HTTP_USER_AGENT} ^.*iphone|ipod|ipad|blackberry|android|sgh|sonyeri csson|psp|mot|htc|lg|nokia|palm|treo|j2me|webos|sm artphone|symbian.*$ [NC]

V_RocKs 04-22-2012 02:33 AM

When someone sends me to their mobile site on my Android phone I go elsewhere... I have a 800x600 pixel screen and I can surf regular sites just fine...

mromro 04-22-2012 03:00 PM

The purpose is to sell the mobile traffic not to make the surfer happy.

Yngwie 04-22-2012 05:50 PM

mobile|android|blackberry|brew|cldc|docomo|htc|j2m e|micromax|lg|midp|mot|motorola|netfront|nokia|obi go|openweb|opera.mini|palm|psp|samsung|sanyo|sch|s onyericsson|symbian|symbos|teleca|up.browser|vodaf one|wap|webos|windows.ce

That should cover everything.. or close to it.

mromro 04-22-2012 06:34 PM

Quote:

Originally Posted by Yngwie (Post 18902545)
mobile|android|blackberry|brew|cldc|docomo|htc|j2m e|micromax|lg|midp|mot|motorola|netfront|nokia|obi go|openweb|opera.mini|palm|psp|samsung|sanyo|sch|s onyericsson|symbian|symbos|teleca|up.browser|vodaf one|wap|webos|windows.ce

That should cover everything.. or close to it.


Thanks Yngwie!

livexxx 04-22-2012 07:05 PM

redirect immediately to a page that says "Mobile optimised" or "Full site" and a cookie.etc to remember their preference the next time. I've got it on a php include rather than .htaccess so can decide easier on what to do with them

Mrwww 04-22-2012 07:32 PM

Quote:

Originally Posted by Yngwie (Post 18902545)
mobile|android|blackberry|brew|cldc|docomo|htc|j2m e|micromax|lg|midp|mot|motorola|netfront|nokia|obi go|openweb|opera.mini|palm|psp|samsung|sanyo|sch|s onyericsson|symbian|symbos|teleca|up.browser|vodaf one|wap|webos|windows.ce

That should cover everything.. or close to it.


:thumbsup:thumbsup:thumbsup

Yngwie 04-22-2012 07:43 PM

Quote:

Originally Posted by mromro (Post 18902607)
Thanks Yngwie!

You're welcome.

BIGTYMER 04-22-2012 07:48 PM

Quote:

Originally Posted by mromro (Post 18902322)
The purpose is to sell the mobile traffic not to make the surfer happy.

Mobile traffic are people too!

Markul 04-24-2012 08:18 AM

Quote:

Originally Posted by BIGTYMER (Post 18902694)
Mobile traffic are people too!

But do they have feelings? :pimp


All times are GMT -7. The time now is 10:07 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc