Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我被要求将对 sitename.com 的所有请求重定向到 www.sitename.com 以防止重复内容,并使所有 https 页面再次具有指向 http 页面的规范链接以防止重复内容。
这真的有必要吗?
如果是这样,我怎样才能在 IIS7.5 中轻松设置重定向。我试过了,但该网站因旧的太多重定向错误而关闭。
我现在很困惑,我现在确定如果每个站点都必须这样做,asp.net 会将其内置到框架中,以将规范链接添加到安全服务的任何页面。
谢谢
这不是必需的,但在两个不同的URL 之间拆分您的 Googlejuice 肯定更好。
IIS7 几乎为您内置了这个: