Url 如何处理对明确但定义错误的资源的请求?

Url 如何处理对明确但定义错误的资源的请求?,url,seo,http-status-code-404,search-engine,http-status-code-301,Url,Seo,Http Status Code 404,Search Engine,Http Status Code 301,假设我使用了一个CMS,它可以在下面的URL上找到一篇文章:http://example.com/article/1-my-first-and-famous-article/ 在内部,我可以通过id(1)明确地识别所请求的物品 我应该如何处理对错误(键入错误、操纵等)URL的请求?例如,有人请求http://example.com/article/1-my-firsz-and-famous-article/或http://example.com/article/1-this-article-is

假设我使用了一个CMS,它可以在下面的URL上找到一篇文章:
http://example.com/article/1-my-first-and-famous-article/

在内部,我可以通过id(1)明确地识别所请求的物品


我应该如何处理对错误(键入错误、操纵等)URL的请求?例如,有人请求
http://example.com/article/1-my-firsz-and-famous-article/
http://example.com/article/1-this-article-is-stupid-idiot/
-我应该使用http状态代码301响应并重定向到正确的URL,还是使用404响应并显示未找到的页面(可能在几秒钟后进行重定向)。在搜索引擎优化方面,哪种方法更可取?

错误的URL将是404错误,任何移动到新位置的现有页面都将是301重定向。这个问题似乎与主题无关,因为它与SEO有关。应该移动到。