Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPageMeta not respected in not-found #48069

Open
1 task done
cipriancaba opened this issue Apr 7, 2023 · 1 comment
Open
1 task done

getPageMeta not respected in not-found #48069

cipriancaba opened this issue Apr 7, 2023 · 1 comment
Labels
area: app App directory (appDir: true) bug Issue was opened via the bug report template.

Comments

@cipriancaba
Copy link
Contributor

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.1.0: Sun Oct  9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000
    Binaries:
      Node: 16.17.0
      npm: 8.15.0
      Yarn: 1.22.19
      pnpm: 7.13.1
    Relevant packages:
      next: 13.3.0
      eslint-config-next: 13.3.0
      react: 18.2.0
      react-dom: 18.2.0

Which area(s) of Next.js are affected? (leave empty if unsure)

App directory (appDir: true)

Link to the code that reproduces this issue

https://stackblitz.com/edit/vercel-next-js-hj5fbc?file=app%2Fnot-found.tsx

To Reproduce

Create a not-found page and attempt to generate a meta title or description

Describe the Bug

Meta title and description doesn't work on not-found pages

Expected Behavior

I need to be able to set the not-found page title and description for seo purposes and ux

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

@cipriancaba cipriancaba added the bug Issue was opened via the bug report template. label Apr 7, 2023
@github-actions github-actions bot added the area: app App directory (appDir: true) label Apr 7, 2023
@tiagobarros01
Copy link

Same here for error pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: app App directory (appDir: true) bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

2 participants