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 (https://gfy.com/showthread.php?t=990469)

Oracle Porn 10-04-2010 02:17 AM

Mobile redirect
 
PHP Code:

RewriteEngine On
RewriteCond 
%{HTTP_USER_AGENT} (mobile|blackberry|webos|android|j2me|palm|nokia|samsung|symbian|windows.ce) [NC]
RewriteRule ^(.*)$ http://url.com/ [R=302,L] 

I'm using this code but latest mobile opera version (i think its 10) isn't being redirected, any idea?

Oracle Porn 10-05-2010 07:38 AM

bump????????

Jack Sparrow 10-05-2010 10:23 AM

Use htaccess redirect.

fris 10-05-2010 10:52 AM

Quote:

Originally Posted by Oracle Porn (Post 17568149)
PHP Code:

RewriteEngine On
RewriteCond 
%{HTTP_USER_AGENT} (mobile|blackberry|webos|android|j2me|palm|nokia|samsung|symbian|windows.ce) [NC]
RewriteRule ^(.*)$ http://url.com/ [R=302,L] 

I'm using this code but latest mobile opera version (i think its 10) isn't being redirected, any idea?

add opera in the user agent

kristin 10-05-2010 10:57 AM

RewriteCond %{HTTP_USER_AGENT} (mobile|android|blackberry|brew|htc|j2me|lg|midp|m ot|motorola|netfront|nokia|obigo|openweb|opera.min i|palm|psp|samsung|sanyo|sch|sonyericsson|symbian| symbos|teleca|up.browser|vodafone|wap|webos|window s.ce) [NC]

needs: opera.mini


All times are GMT -7. The time now is 12:11 PM.

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