位置: 设置 → 内容与发布 → Google 与网址
打开此页面: admin.<your-site>/settings/seo(将 <your-site> 替换为您的网站地址)
开始之前
- 您需要具备管理 SEO 的权限。
操作步骤
- 打开 设置 → 内容与发布 → Google 与网址。
- 在文章网址格式下方,选择其中一种格式,或输入自定义格式。
- 查看 报道网址示例。
- 点击 更改格式 并确认。
- 页面会提示“Address format changed. Redirects are being added.”,并显示“Adding redirects for your stories…”。
温馨提示
- 使用
{section}、{slug}、{id}、{yyyy}、{mm}和{dd},并结合字母、数字或连字符。必须包含{slug}或{id},以便每篇文章都能获得专属网址。 - 格式必须以 / 开头。
- 更改格式会将所有已发布的文章迁移至新地址。Keynate 会为每篇已发布的文章添加永久重定向,因此旧链接和搜索排名可继续保持有效。
- 页面会显示上一次更改所创建的重定向数量。
常见故障
- “The format must start with /.”
- “Only {section} {slug} {id} {yyyy} {mm} {dd} are allowed in braces.”
- “Include {slug} or {id} so every story gets its own address.”
- “Use only lowercase letters, numbers and dashes between the tokens.”
- “Put a dash or slash between two tokens.”
- “The last address change is still adding redirects. Try again in a moment.”
常见问题
常见问题
我的旧链接会失效吗?
不会。系统会为已发布的文章添加重定向。
我可以经常更改此格式吗?
请尽量避免。每次更改都会迁移所有文章的网址。