Google indexes a discussion page using content from other pages
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- javascript, php
调研方向
未指定源文件或测试。复现提供的讨论 URL,并比较 crawler 看到的内容与向用户显示的帖子,然后跟踪讨论分页和帖子自动加载的行为。完成标准是每个分页 URL 只向搜索引擎暴露其自身的帖子,并链接到正确的页面。
由索引模型根据 Issue 内容生成。
描述
Bug Report
Current Behavior
Google's crawler indexes page X of a discussion (discussion/?page=X) using also the text/images from other pages. This means that what Google's crawler sees doesn't always match what users see once they open that page.
Example
Google "ok, ma io ho fatto questi test a scopo informativo/illustrativo site:forum.fibra.click"

Second result is page 12, but that post belongs to page 10
Expected Behavior
Google's crawler should only look at posts on a specific page, i.e. in the above example Google should link to page 10
Environment
- Flarum version: 1.2.0
- Website URL: https://forum.fibra.click/
Possible Solutions
- (Hacky) Disable javascript for all crawlers (limited to discussions)
- Disable posts auto-loading for crawlers, adding a button "load more" that points to the next page
- Disable posts auto-loading for all users, adding a button "load more" that enables posts auto-loading
- 主要语言
- PHP
- 星标
- 6.8k
- 派生
- 891
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 209
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
flarum/framework 的其他 Issue
-
type/accessibility type/bug
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
Default language is ignored for anyone who chose a language, when the language selector is hidden可能已有人在做 @1AbdullahButt 于 15 天前认领。 未关闭type/bug
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
[2.x] False CLI/Web PHP mismatch when /usr/bin/php differs from the site's FPM可能已有人在做 @lazerg 于 15 天前认领。 未关闭type/bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
[2.x] A filter on a resource without a searcher returns a 500可能已有人在做 @imorland 今天认领。 未关闭type/bug
flarum/framework#5578 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 87/100
维护者通常 1 天内回复
-
Add php 8.6未关闭
难度 1/5 1 小时以内 新手友好度 66/100
mailersend/mailersend-php#199 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Configuration new tool
难度 2/5 1-3 小时 新手友好度 68/100
novalo-dev/Prestashop-MCP-Server#366 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 10 天内回复