you should be just fine if you use this at the end of your redirect script:
if($mobile_browser)
{
header('Cache-Control: no-transform');
header('Vary: User-Agent, Accept');
header("robots:noindex,nofollow");
header('Location: '.$mobile_link);
exit;
}
|