Canonical Tag Ignored: Google Indexed a Stub Page Instead of the Full Game Page
A developer running a static browser-games site had two URLs per game, a full page at /play/ and a bare iframe player at /game/, and wanted Google to index only the former. A missing 404 page caused unmatched paths to return the homepage, and JavaScript-based fixes left raw and rendered HTML in conflict, so Google chose the stub as canonical. After a 1.1 KB stub file was created, the developer switched from noindex to a canonical pointing at the full page, but Google kept both URLs indexed because the pages were not near-duplicates. The developer then reverted to noindex with follow and removed the canonical, and advised returning 404 for unmatched URLs.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in