View Single Post
Old 04-13-2012, 10:09 AM  
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,323
Quote:
Originally Posted by NoWhErE View Post
Quick question, would you need to in order to display mobile ads only? Or is it so when a mobile user clicks an ad its sent to a mobile offer?


If its the latter, we have a script that will automatically detect if your user is mobile and send him to the mobile tour.
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:
#Iphone detection
RewriteCond %{HTTP_USER_AGENT} ^.*iphone.*$ [NC]
RewriteRule ^(.*)$ http://m.bigcocktrannymidgets.com/index.php?noref [R=301,L]

#Ipod detection
RewriteCond %{HTTP_USER_AGENT} ^.*ipod.*$ [NC]
RewriteRule ^(.*)$ http://m.bigcocktrannymidgets.com/index.php?noref [R=301,L]
__________________
ISeekGirls.com since 2005
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote