Skip to content

Page Title Meta Tags "Page Not Found | Nuxt" #14260

@niyonx

Description

@niyonx

Versions

  • nuxt: 3.0.0-rc.1
  • node: v16.15.0

Reproduction

Configure nuxt.config.ts the title of the website.

app: {
      head: {
        title: 'Custom title',
        meta: [
          // <!-- Primary Meta Tags -->
          { name: 'viewport', content: 'width=device-width, initial-scale=1' },
          {
            name: 'title',
            content: 'Custom title'
          },
          // <!-- Open Graph / Facebook -->
          {
            property: 'og:title',
            content: 'Custom title'
          },
          // <!-- Twitter -->
          {
            property: 'twitter:title',
            content: 'Custom title'
          },
        ],
      }
    }

The title will display well on the page. However, when bots load the preview, it will display "500 - Page Not Found | Nuxt". As you can see in metatags.io with the website merchant.pikapoint.io.

What is Expected?

It should display the proper title.

What is actually happening?

Does not display the proper title

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions