heres a php code for those who need a PC/Mobile redirect...
<?php
global $userBrowser;
// Your wapsite
$wmllink = "http://www.yoursite.com/";
// Your website
$htmllink = "http://www.yoursite.com/";
//Detect the browser
$userBrowser = $_SERVER['HTTP_USER_AGENT'];
//echo $userBrowser;
if(strpos(strtoupper($HTTP_ACCEPT),"VND.WAP.XHTML+XML") > 0)
{
$ub="PC";
}
else if(strpos(strtoupper($HTTP_ACCEPT),"XHTML+XML") > 0)
{
$ub="PC";
}
//Check for Mozilla
else if(stristr($userBrowser, 'Mozilla'))
{
$ub="PC";
}
//Check for msie
else if(stristr($userBrowser, 'msie'))
{
$ub="PC";
}
//Check for IE
else if(stristr($userBrowser, 'internet explorer'))
{
$ub="PC";
}
//Check for opera
else if(stristr($userBrowser, 'opera'))
{
$ub="pc";
}
//Check for Opera
else if(stristr($userBrowser, 'Opera'))
{
$ub="pc";
}
else
{
$ub="WML";
}
if($ub == "PC") {
header("Location: ".$htmllink);
exit;
}
else
{
header("Location: ".$wmllink);
exit;
}
?>