301 重定向与 DNS 更改:终止 301 重定向并更新子域的 DNS 是否安全? [英] 301 Redirect vs DNS change: Is it ever safe to kill a 301 redirect and update the DNS for a subdomain?

查看:15
本文介绍了301 重定向与 DNS 更改:终止 301 重定向并更新子域的 DNS 是否安全?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在子域上运行的站点,该子域已迁移到新服务器和新域名.为了保留搜索积分,我知道 301 重定向是处理迁移迁移的正确方法.(营销部门谈到了我从未听说过的 301 重定向.)

I have a site running at a subdomain that has been migrated to a new server and new domain name. To preserve search credits I know a 301 redirect is the proper way to handle migrating the transition. (The marketing department speaks of 301 redirects like I've never heard of.)

从技术角度来看,我不明白您必须保持重定向多久.有人可以解释一下吗?保持重定向无限期运行似乎是服务器上额外和不必要的负载.在搜索引擎停止链接到以前的站点后,您最终会删除它还是更改 DNS?

From a technical standpoint, I don't understand how long you have to maintain a redirect. Can someone explain this? It seems like extra and unnecessary load on a server to keep a redirect running indefinitely. Do you eventually drop it or make it a DNS change after the search engines have stopped linking to the previous site?

推荐答案

301 是永久移动",因此理论上,在其书签中有链接的搜索引擎和浏览器应该切换到新的 URL.但我不会打赌每个人都这样做.所以,我同意 ceejayoz 的观点,让旧 URL 永远有效是明智的.

301 is "Moved Permanently" so, in theory, search engines and browsers which have the link in their bookmarks should switch to the new URL. But I wouldn't bet that everyone does it. So, I agree with ceejayoz, it is prudent to keep the old URL working forever.

(还要记住 URL 不仅存储在搜索引擎中,您可以在许多地方找到它们,甚至在纸上.这就是为什么 URL 永不消亡.发布 URL 前请三思,之后您将永远无法回忆起它.)

(Remember also that URL are not only stored in search engines, you can find them in many places, even on paper. That's why URLs never die. Think twice before publishing an URL, you'll never be able to recall it afterwards.)

这篇关于301 重定向与 DNS 更改:终止 301 重定向并更新子域的 DNS 是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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