这里有一个类似的问题,但答案不起作用,XenForo 的官方答案也不起作用。显然,他们在论坛从 /forums 设置迁移到根域级别时遇到了问题,但修复方法不起作用。
旧链接 https://www.twcenter.net/forums/member.php?10263-Gaius-Baltar
新链接 https://twcenter.net/members/gaius-baltar.10263/
旧链接 https://www.twcenter.net/forums/showthread.php?581961-Name-Change-Requests
新链接 https://twcenter.net/threads/name-change-requests.581961/
这确实对非友好 URL 有效,但我没有很多这样的 URL。
return 301 /threads/$arg_t/;
}
location = /member.php {
return 301 /members/$arg_u/;
}
我认为让我困惑的是文本和 ID 之间的切换。在 vBulletin 中,它先 id,再文本
在 XenForo 中它的 the-text.id