Is it possible to change the title tag of the 404 page ? I now i can change the text that is displayed but i can’t seem to find how to change the title tag. It shows the name of our discourse page.
1 个赞
这非常有价值,因为需要它来跟踪 Google Analytics 中的 404 页面。有人有什么建议吗?
1 个赞
我实际上同意这一点 @zogstrip,说来也巧,我们的 404 页面没有一个独特的 <title>。我们至少应该在末尾添加“ - 页面未找到”之类的内容。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Discourse Meta</title>
上面是元这里一个随机的 404 链接 ![]()
2 个赞
@nbianca 你能把这个加到你的列表里吗?
1 个赞
我添加了一个通用的“找不到页面 - SITE_TITLE”标题。这是一个可翻译的字符串,可以轻松自定义。
2 个赞
该主题在 2 天后自动关闭。不再允许回复。