1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Redirect Mobile Traffic?

Discussion in 'Cloaking and Content Generators' started by cryptopsy, May 16, 2014.

  1. cryptopsy

    cryptopsy Registered Member

    Joined:
    Jan 25, 2013
    Messages:
    81
    Likes Received:
    26
    I'm promoting some web offers and blanking the traffic source. I noticed that I'm also receiving a significant amount of mobile traffic and I want to redirect this traffic to a mobile offer.
    The setup would be like this:
    visitor -> check if user is on pc or mobile, if on pc then -> Double meta refresh -> offer 1
    ->if on mobile then -> Double meta refresh -> offer 2

    Any idea how to do this?:confused:
     
  2. KatsuragiKeima

    KatsuragiKeima Newbie

    Joined:
    Nov 30, 2013
    Messages:
    33
    Likes Received:
    3
    Occupation:
    Online Marketing(Newbie)
    Location:
    Philippines
    You can do this on PHP , have you tried googling it?
     
  3. davids355

    davids355 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 25, 2011
    Messages:
    8,802
    Likes Received:
    6,367
    Home Page:
    Easy eith php. If you can't find, pm me, I have php script that you can modify a bit to get what you need.
     
  4. mrblackjack

    mrblackjack Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 6, 2011
    Messages:
    960
    Likes Received:
    553
    Occupation:
    I live alone, I work alone, I make money alone
    Location:
    G00gle LaNd
  5. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,227
    Occupation:
    Retired
    Location:
    Old Peoples Home
  6. mrtwister_65

    mrtwister_65 Regular Member

    Joined:
    Dec 30, 2009
    Messages:
    462
    Likes Received:
    534
    Found this on the web, edit it to fit your needs:

    Code:
    Redirect Android Visitors:
    
    
    To redirect visitors who access your website on android, add this
    script inside the <head>. . . </head> HTML of your webpages.
    
    Make sure to change the "www.domainname.com" to your website URL.
    
    
    
    
    
    <script language="JavaScript" type="text/javascript">
    <!--
    
    if( navigator.userAgent.match(/Android/i) ||
        navigator.userAgent.match(/webOS/i) ||
        navigator.userAgent.match(/iPhone/i) ||
        navigator.userAgent.match(/iPod/i) ||
        ){
    window.location = "http://www.domainname.com/page-name-here.html";
    }
    // -->
    </script>
     
  7. rocknrose

    rocknrose Newbie

    Joined:
    Feb 9, 2015
    Messages:
    16
    Likes Received:
    0
    If you've created a mobile version of your website, you'll need to be sure that you redirect your mobile visitors to your mobile website.
     
  8. TZ2011

    TZ2011 Senior Member

    Joined:
    Jun 26, 2011
    Messages:
    832
    Likes Received:
    864
    Occupation:
    Cleaning servers
    mobile redirect script, few options (javascript standalone, php standalone, wp)

    Code:
    http://www.mediafire.com/download/2q6187xma3lh6ju/mobile_redirect_script.zip

    javascript detection, parts of mobile user agents

    Code:
    http://www.mediafire.com/download/qwcxhp9jdfr5ud9/redirect_script_by_dave.zip
     
  9. mrmeroo

    mrmeroo Newbie

    Joined:
    Feb 11, 2015
    Messages:
    16
    Likes Received:
    1
    the same in html ?
     
  10. linuxoiad

    linuxoiad Junior Member

    Joined:
    Sep 20, 2013
    Messages:
    111
    Likes Received:
    11
    Do you have mobile version of your website to implement the code in it ?

    If you have the mobile version just put the code on form load
     
  11. saltedweb

    saltedweb Junior Member

    Joined:
    Aug 9, 2014
    Messages:
    118
    Likes Received:
    2
    you can use PHP for redirect the trafic