1. Detect if the user is on a mobile device such as an iPhone, Android, Blackberry or webOS.
  2. Redirect the user using 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

This project aims to help developers redirect their users to any existing mobile versions of their site by simply turning on and configuring this small module.

No Dependencies Required!

Just install, enable and configure the module.

Configuration

D6: [example.com]/admin/settings/mobile-subdomain
D7: [example.com]/admin/config/system/mobile-subdomain

Override Redirect

Disable mobile subdomain for a session: [example.com]/mobile-subdomain-redirect/false
Re-enable mobile subdomain: [example.com]/mobile-subdomain-redirect/true

Project information

Releases