This WordPress plugin will detect mobile devices and redirect the user to the mobile-optimized site of your choice (such as subdomain or subfolder).
This plugin uses the MobileESP by Anthony Hand as its detection script (under Apache License 2.0) and is based on Mobile Device Detect by Matthias Reuter
Banner drawing by Felix Wolfstrom.