Check out my previous post (thanks aja) for a great little site for Tumblrs with iPhones. Basically, you type in your (or somebody else’s) Tumblr username and Tumblephone will create an iPhone friendly version of your Tumblog.

Wouldn’t it be better to have your site automatically detect if it’s an iPhone browser and redirect to your Tumblephone page? Yes it would … so here’s how.

Note: You have to have custom themes enabled for this to work properly.

If you know what you’re doing with custom themes, just insert the following bit of javascript somewhere in between your <head> </head> tags:

<script language=javascript>
<!—
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
{
location.href=’http://tumblephone.com/geekery101’;
}
—>
</script>

*Replace the geekery101 with your username/site name*

If you’re not sure what I’m talking about, here’s a great tutorial on custom theming.

Questions or comments? Feel free to leave them in the comments.