简书登录请求

填入登录用户名和密码,运行 后在查询结果树看见
login-0:Response code:301
Response message:Moved Permanently

login-1:Response code:200
Response message:OK

然后网上搜索response code 301和200, Http状态的区别?
如下:
相同点:301,302 都是HTTP状态的编码,都代表着某个URL发生了转移,
具体差異:
301 redirect: 301 代表永久性转移(Permanently Moved),
302 redirect: 302 代表暂时性转移(Temporarily Moved ),
Http 状态 200 标示没有任何问题发生.
SEO(搜索引擎优化)中提到一点:如果我们把一个地址采用301跳转方式跳转的话,搜索引擎会把老地址的PageRank等信息带到新地址,同时在搜索引擎索引库中彻底废弃掉原先的老地址。
参考网页1:https://blog.csdn.net/ghj1976/article/details/1794684
参考网页2:
https://blog.csdn.net/reliveit/article/details/50776984
网友评论