View Single Post
Old 04-13-2012, 10:50 AM  
MichaelP
Confirmed User
 
MichaelP's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: QWEBEC Corporate Office
Posts: 7,124
Quote:
Originally Posted by TheSenator View Post
HTACCESS would be better. I have traffic going to a pop-under that I want to re-direct for mobile users. Something like this below.

*** code ***
Correction : The Mobile offer is not ready yet, it will be Monday (even before if everything goes well)

At this very moment you can use this, and our script will do the rest. Your Iphone/Ipad surgers will be transfered to the appropriate page.


Code:
#Iphone detection
RewriteCond %{HTTP_USER_AGENT} ^.*iphone.*$ [NC]
RewriteRule ^(.*)$ http://freexxxapp.com/go.php?t=919&aid=102701&sid=YOURID.MobilePopUnder [R=301,L]

#Ipod detection
RewriteCond %{HTTP_USER_AGENT} ^.*ipod.*$ [NC]
RewriteRule ^(.*)$ http://freexxxapp.com/go.php?t=919&aid=102701&sid=YOURID.MobilePopUnder [R=301,L]
MichaelP is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote