PHP 重定向 header 什么是 HTTP/1.1

PHP Redirect header what is HTTP/1.1

header('HTTP/1.1 301 Moved Permanently');
header('Cache-Control: no-store, no-cache, must-revalidate');
header("Location: xxxxxx"); //Destination

什么是HTTP/1.1

参考:https://en.wikipedia.org/wiki/HTTP_301

HTTP 1.1最新版本的超文本传输​​协议 (HTTP),运行于Internet 的 TCP/IP 协议套件。 HTTP 1.1 提供了比原始 HTTP 更快的网页传送,并减少了 Web 流量。 HTTP 1.1 由 Internet 工程任务组 (IETF) 的一个委员会开发,其中包括 Web 的主要创建者 Tim Berners-Lee,最新的 Web 服务器和浏览器支持 HTTP 1.1。