It is not a new information to bloggers that most of the people visiting their blog use a mobile phones. Infact, this blog gets an average of 60 percent mobile traffic, and on this basis, it is a nice idea to make a mobile version of your blog for your mobile visitors.

When it comes to Tumblr, it has a specially ready made version for iPhone and iPod users. I would guide you through on how you can detect and redirect your iPhones / iPods traffic to the default iPhone version of your Tumblr blog known as Tumblephone.

Detecting and Redirecting IPhones Users in Tumblr to Mobile Version

  • After you must have Logged into Tumblr, navigate to Customize in your dashboard.
    step 1
  • Click on Theme.
    step 1
  • Click on Use Custom HTML.
    step 1
  • The new HTML Editor would appear. Search for </head> (using Ctrl + F to search).
    step 1
  • Right before the </head> tag, place this simple Javascript

    <script language=javascript>
    if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))


  • Now you can save your Theme by clicking on Save Changes.
    step 1

Note: Change Username in the code to your Tumblr Username (which is also your site name) before you save.

That’s how simple it is. This javascript will simply detect all iPhone and iPod user agent (visitors and traffic), and will redirect them to the mobile iPhone version of your Tumblr blog – TumblePhone.



Please enter your comment!
Please enter your name here