大网数据广告活动
网站运营与故障问答

Page Title in URL - What do I do if the page's title changes?

· 52CE 我爱测

Let's say I have a web site with a bunch of articles on it, with each article on its own page. Also, each page's URL has the title of the article in it, like this: http://www.example.com/article/how-to-feed-a-walrus If I create t…

问题原文

原帖链接 · user3163495 · CC BY-SA 4.0

Let's say I have a web site with a bunch of articles on it, with each article on its own page. Also, each page's URL has the title of the article in it, like this:

http://www.example.com/article/how-to-feed-a-walrus

If I create the article "How to Feed a Walrus", and a month later change the title to "How to Bathe a Walrus", should I change the URL to reflect this new title? The reason I ask is that if there are external links to the original URL, then those will no longer work since the URL changed. I don't want Google, for example, linking to a bunch of "Article Not Found" pages.

已采纳解答

原帖链接 · Maximillian Laumeister · CC BY-SA 4.0

The recommended way to deal with this is to use a 301 ("permanent") redirect from the old article URL to the new article URL. That way users and search engines will be automatically redirected, and you should keep the vast majority of your link equity.

That being said, bathing vs feeding a walrus sound like they would have mostly different article contents, so in this case it may be better to just leave the old article up and put up the new one in addition.

If you were going from "how to bathe a walrus" to "how to feed and bathe a walrus" then the permanent redirect would make more sense, as the old article's contents would be found at the new location.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2019-01-27)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。