isMobile()) { header( 'Location: http://mobile.studiomk.co.uk' ); } if($detect->isIpad()) { header( 'Location: http://www.mobile.studiomk.co.uk' ); } if(!($detect->isMobile()) && !($detect->isIpad())) { header( 'Location: http://www.studiomk.co.uk' ); } } ?>