Closed kt3k closed 2 years ago
Note: Node.js API docs do the same thing. For example see the source of https://nodejs.org/docs/latest-v16.x/api/fs.html
Set canonical
url 2 weeks ago, but the search result still shows the versioned page for some queries
Is something wrong on our side, or it just takes long time to reflect in the search result? 🤔
Now most search results seem linking to non-versioned (latest) pages of the manual. (Tested with deno configuration
, deno web server
, deno permissions
etc)
Google search results sometimes link to the older version of manual. For example,
deno web server
search showshttps://deno.land/manual@v1.14.3/examples/http_server
as the first result on my caseSetting the link tag like
<link rel="canonical" href="url-of-latest-document" />
should solve this issue. ref. https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls