Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

相同的文章标题问题 #6733

Open
azwcl opened this issue Sep 30, 2024 · 2 comments
Open

相同的文章标题问题 #6733

azwcl opened this issue Sep 30, 2024 · 2 comments
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@azwcl
Copy link

azwcl commented Sep 30, 2024

系统信息

使用的哪种方式运行?

Docker Compose

发生了什么?

  1. 当两个相同的标题的时候,因为路由问题,无法跳转到对应文章了;
  2. 具体如下图,两篇文章,怎么点,都是后发布的那篇文章了;
    image
  3. 即便在不同分类下,也不能打开第一篇发布的文章了
    image

复现步骤

  1. 创建文章 A ,标题 :Test
  2. 创建文章 B ,标题 : Test;
  3. 文章 A 打不开了

相关日志输出

No response

附加信息

No response

@ruibaby
Copy link
Member

ruibaby commented Sep 30, 2024

相同问题:#6715 (comment)

/triage duplicate

@f2c-ci-robot f2c-ci-robot bot added the triage/duplicate Indicates an issue is a duplicate of other open issue. label Sep 30, 2024
@ruibaby
Copy link
Member

ruibaby commented Sep 30, 2024

如果你不关心你文章的访问地址,可以去主题路由设置一个相对随机的生成策略,以减少这个问题出现的可能。

https://docs.halo.run/user-guide/settings#%E4%B8%BB%E9%A2%98%E8%B7%AF%E7%94%B1%E8%AE%BE%E7%BD%AE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

2 participants