if($url = "www.xxx.com"){
header("HTTP/1.1 301 Moved Permanently");
header("Location: $target_url);
}
the above code, 301 redirect has been accessed in the browser, and the browser will remember that it is permanently redirected. Will directly skip code execution. However, there is a modification to $target_url, that will not take effect without knowing the browser cache. Is there any solution?