nextjs-notion-starter-kit icon indicating copy to clipboard operation
nextjs-notion-starter-kit copied to clipboard

Duplicate canonical page id Error: is it possible to bypass?

Open marharyta opened this issue 2 years ago • 2 comments

Description

As I am running yarn build I noticed an error

error duplicate canonical page id {
  canonicalPageId: 'ukrainian-embassy-in-finland',
  pageId: 'f43f6368-6e98-4a09-a898-e3d3b59d6241',
  existingPageId: '44262845-99f6-48a3-a859-848bf74bbc21'
}

which effectively is canonical URL duplication. I want to ask if it is possible to bypass the canonical page id in production. It is entirely possible I do not understand some aspects, but I would like to deploy the website as soon as I can (project for Ukrainian refugees).

Notion Test Page ID

Notion page: https://mymo.notion.site/701245d6db8c413689d180e87269ee56 Super.so version: https://finua.org/

@transitive-bullshit Thank you so much for all the great work! You rock!

marharyta avatar Jan 10 '23 22:01 marharyta

use includeNotionIdInUrls: true in the site.config.ts to bypass the issue.

woensug-choi avatar Apr 19 '23 06:04 woensug-choi