Quote:
Originally Posted by TheSenator
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]