Modern Mobile Redirect Using .htaccess

The following set of rewrite rules will redirect all Android, Blackberry, iOS, Windows and WebOS devices to a specific mobile directory on your website. Additionally, it will redirect Google's mobile crawler - according to Google search spam czar Matt Cutts this is perfectly acceptable and even somewhat encourage. Code snippet - Simple .htaccess Mobile Redirect … Continue reading Modern Mobile Redirect Using .htaccess

How To Detect Mobile Visitors Using .htaccess Rewrite Rules, Simplified

Since my¬†original posts on mobile redirection in .htaccess files I've gotten some comments and emails asking for step-by-step guidance on exactly how to "install" these rules. I hope this post will answer some of those questions. Before you continue reading, if you have php installed on your server, you may want to consider¬†Andy Moore's php … Continue reading How To Detect Mobile Visitors Using .htaccess Rewrite Rules, Simplified

Revisiting Mobile Redirection Using .htaccess ReWrite Rules

This article is out of date, check my latest code snippet here. Back in 2007 I wrote a post detailing a method for detecting and redirecting mobile browsers using .htaccess. Since then the mobile landscape has changed quite a bit: iPhone and Android have been released, the PDA market is all but dead and phones … Continue reading Revisiting Mobile Redirection Using .htaccess ReWrite Rules

Linux: Finding Newer Files [OR How To Create A Patch File]

The linux `find` command is very powerful, it has tonnes of switches and options that I'm not terribly familiar with. Even though I've been a LAMP developer for over 5 years, I don't work on the command-line too often. Yesterday I ran into a problem that I had never tried to resolve before. I was … Continue reading Linux: Finding Newer Files [OR How To Create A Patch File]