typecho博客程序后台更改了永久地址,以前搜索引擎手里的旧地址打开报404
解决方案:

if ($request_uri ~* "^/article/(\d+)/?$") {
return 301 /new-articles/$1;
}
还是chatgpt给力。。
typecho博客程序后台更改了永久地址,以前搜索引擎手里的旧地址打开报404
解决方案:
if ($request_uri ~* "^/article/(\d+)/?$") {
return 301 /new-articles/$1;
}
还是chatgpt给力。。
更多来自我们博客的帖子