This is a very simple module that does two things:
- Detect if the user is on a mobile device such as an iPhone, Android, Blackberry or webOS
- Redirect the user using PHP to a subdomain of their choice. ie: http://m.siteurl.com
A configuration page is available that allows the site administrator to change the mobile prefix to any subdomain they would like to use.
This module supports multiple domains that are aliased to the same Drupal site. ie: domain.com would redirect to m.domain.com and domain.org would redirect to m.domain.org
Although we believe that responsive theme design is the proper solution for sites going forward, we cannot overlook the fact that a lot of mobile sites are delivered with some form of subdomain.
This project aims to help developers redirect their users to any existing mobile versions of their site by simply turning on and configuring the module.