在这段代码中,我给出了重定向 $searchLink
$urlCity = strtolower($_COOKIE['UserCityName']);
$searchLink = '/properties-in-'.$urlCity.'.php';
if($_SERVER['REQUEST_URI'] != $searchLink)
{
Header("HTTP/1.1 301 Moved Permanently" );
Header("Location: http://".$_SERVER['HTTP_HOST'].$searchLink);
}
但是在 GSiteCrawler Server-Test 中显示错误
'http://legacy.com/properties-in-.php'
Result code: 200 (OK / OK)
'http://legacy.com/properties-in-chennai.php' like this it should come
我该如何解决这个问题