<link rel="alternate" href="http://w.topyanglao.com/hz/hz/category-catid-1.html" media="handheld" type="application/vnd.wap.xhtml+xml">
<meta http-equiv="mobile-agent" content="format=html5; url=http://w.topyanglao.com/hz/hz/category-catid-1.html">
<meta http-equiv="mobile-agent" content="format=wml; url=http://w.topyanglao.com/hz/hz/category-catid-1.html">
<meta http-equiv="mobile-agent" content="format=xhtml; url=http://w.topyanglao.com/hz/hz/category-catid-1.html">
链接里出现了2个hz, 请问怎么修改?
if ($rewrite != 'active') {
$mayimobile = array();
$mayimobile['mobileuri'] = substr($city['mdomain'], 0, -1) . ($_SERVER['HTTP_X_ORIGINAL_URL'] ? $_SERVER['HTTP_X_ORIGINAL_URL'] : $_SERVER['REQUEST_URI']);
if ($ifmobile) {
write_msg('', $mayimobile['mobileuri']);
}
}
$_SERVER['REQUEST_URI'], 这个用 "./".$_SERVER['REQUEST_URI']
//这两个地址是什么,你最好显示出来,不然有点不好确定 $_SERVER['HTTP_X_ORIGINAL_URL'] : $_SERVER['REQUEST_URI']