typecho旧链接重新跳转
warning:
这篇文章距离上次修改已过446天,其中的内容可能已经有所变动。
typecho博客程序后台更改了永久地址,以前搜索引擎手里的旧地址打开报404
解决方案:
![](https://ooolo.net/usr/uploads/2023/05/1981170536.png)
if ($request_uri ~* "^/article/(\d+)/?$") {
return 301 /new-articles/$1;
}
还是chatgpt给力。。