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 users to my Tumblr blog?

Discussion in 'Mobile Marketing' started by ycfme, Nov 6, 2011.

  1. ycfme

    ycfme Power Member

    Joined:
    Mar 24, 2010
    Messages:
    779
    Likes Received:
    65
    hey guys,

    all tumblr blogs are mobile compatible.

    anyone know what script/code i could insert in my wordpress site (and html sites as well...) that would detect mobile users and push them to my tumblr blog?
     
    Last edited: Nov 6, 2011
  2. bartono

    bartono Regular Member

    Joined:
    May 18, 2009
    Messages:
    411
    Likes Received:
    139
    i use wp plugin Mobile Domain for it
    hope it help
     
    • Thanks Thanks x 1
  3. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,227
    Occupation:
    Retired
    Location:
    Old Peoples Home
    • Thanks Thanks x 1
  4. ycfme

    ycfme Power Member

    Joined:
    Mar 24, 2010
    Messages:
    779
    Likes Received:
    65
    Hey Thanks,

    Quick question though.

    Where should this php code be inserted? In the header? (and where exactly...)

    Usage

    Include and instantiate the class:
    PHP:
    include("Mobile_Detect.php");
    $detect = new Mobile_Detect();Check for a specific platform
    if (
    $detect->isAndroid()) {
        
    // code to run for the Google Android platform
    }Available  methods are isAndroid(), isAndroidtablet(), isIphone(), isIpad(),  isBlackberry(), isBlackberrytablet(), isPalm(), isWindowsphone(),  isWindows(), isGeneric(). Alternatively, if you are only interested in  checking to see if the user is using a mobile devicewithout caring for  specific platform
    if (
    $detect->isMobile()) {
        
    // any mobile platform
    }
     
  5. ycfme

    ycfme Power Member

    Joined:
    Mar 24, 2010
    Messages:
    779
    Likes Received:
    65
    Hey thanks,

    It looks like this plug requires you to set-up a sub domain.This is obviously a very simple task to do. However, I am interested in using Tumblr as my mobile page.

    Are you actually using this with tumblr? If so, how exactly do you have this set-up if i may ask.

    Thanks again
     
  6. bartono

    bartono Regular Member

    Joined:
    May 18, 2009
    Messages:
    411
    Likes Received:
    139
    after plugin activation you must go to Settings - Mobile Domain and insert any domain (for ex. tumblr) in field "Mobile Domain" and press "Save Changes". It's all.
     
  7. ycfme

    ycfme Power Member

    Joined:
    Mar 24, 2010
    Messages:
    779
    Likes Received:
    65
    Hmmm.... I don't see this field you are referring to "Mobile Domain"

    Is this the plugin you are referring to?
    http://wordpress.org/extend/plugins/mobile-domain/

     
  8. nemernicu

    nemernicu Junior Member

    Joined:
    Oct 18, 2008
    Messages:
    186
    Likes Received:
    130
    Location:
    Bora Bora
    I use WpTap mobile Detector on every Wordpress site i build an custom mobile website for.
    You can find it here:
    Code:
    http://wordpress.org/extend/plugins/wptap-mobile-detector/
    All you have to do it's install, activate and than in the WP Dashboard go to Mobile Detector.
    From there just paste your tumblr link.
    Do it one field/device at a time and click Update until you finish all of them.

    This is the easiest way to do it and within 1-3 min top.