Google indexes a discussion page using content from other pages

オープン
#3,370 コメント 7 件 リアクション 3 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
javascript, php
領域
search, web-dev

調査の方向性

ソースファイルやテストは指定されていません。提示されたディスカッション URL を再現し、crawler に見える内容とユーザーに表示される投稿を比較してから、ディスカッションのページネーションと投稿の自動読み込みの動作を追跡します。各ページネーション URL が検索エンジンに自身の投稿だけを公開し、正しいページへのリンクを持つ状態になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

prio/low type/bug

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"

image
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

Possible Solutions

  1. (Hacky) Disable javascript for all crawlers (limited to discussions)
  2. Disable posts auto-loading for crawlers, adding a button "load more" that points to the next page
  3. Disable posts auto-loading for all users, adding a button "load more" that enables posts auto-loading
主要言語
PHP
スター
6.8k
フォーク
891
平均マージ
1日 10時間
マージ済み PR(30日)
209

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

flarum/framework のほかの issue

flarum/framework の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。