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?

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

问题描述

我有一个网站在已经迁移到新服务器和新域名的子域上运行。为了保护搜索积分,我知道301重定向是处理迁移过程的正确方法。 (市场部门会讲301重定向,就像我从来没听说过的那样。)



从技术的角度来看,我不明白你需要多长时间维护重定向。有人可以解释一下吗在服务器上看起来像额外的和不必要的负载,以保持重定向无限期地运行。搜索引擎已停止链接到上一个网站后,您是否最终将其删除或进行DNS更改?

解决方案

301是永久移动所以理论上,在书签中具有链接的搜索引擎和浏览器应该切换到新的URL。但我不会打赌,每个人都这样做。所以,我同意ceejayoz,谨慎的是保持旧的URL永远工作。



(还要记住,URL不仅存储在搜索引擎中,你可以找到它们在许多地方,甚至在纸上,这就是 URL永远不会死的原因。一个URL,你以后永远不会回想起来。)


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.)

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 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.

(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天全站免登陆