HTTP / 1.1 302到底意味着什么? [英] What does HTTP/1.1 302 mean exactly?

查看:1286
本文介绍了HTTP / 1.1 302到底意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读过的一篇文章说过,它意味着跳跃(从一个URI跳到另一个URI),但即使实际上根本没有跳跃,我也检测到了这个302!

Some article I read once said that it means jumping (from one URI to another), but I detected this "302" even when there was actually no jumping at all!

推荐答案

302重定向意味着页面暂时被移动,而301意味着它被永久移动。

A 302 redirect means that the page was temporarily moved, while a 301 means that it was permanently moved.

301s对于SEO值有好处,而302则不是因为301s指示客户忘记原始URL的值,而302保留原始值的值,因此可能通过创建两个逻辑上不同的URL来减少值产生相同的内容(搜索引擎将它们视为不同的重复项而不是具有两个名称的单个资源)。

301s are good for SEO value, while 302s aren't because 301s instruct clients to forget the value of the original URL, while the 302 keeps the value of the original and can thus potentially reduce the value by creating two, logically-distinct URLs that each produce the same content (search engines view them as distinct duplicates rather than a single resource with two names).

这篇关于HTTP / 1.1 302到底意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆