How to SEO in NextJS 13: Metadata, Robots, Sitemap, Structured Data

Поделиться
HTML-код
  • Опубликовано: 20 авг 2023
  • SEO improvements were one of Next JS’s main promises. These were reiterated with version 13 and the `app` router.
    The improvements include greater speed and reduced javascript thanks to React Server Components. However, some features of the app router aim to address SEO needs directly.
    So let’s dive in, and explore:
    - first, how to generate Metadata
    - second, creating the Robots and Sitemap content
    - third, creating Structured Data
    ----
    Want to go into further depth? Head to kodaps.dev/
  • НаукаНаука

Комментарии • 8

  • @Tommy-x-Ray
    @Tommy-x-Ray 8 месяцев назад

    Great video, are there cases where the step of adding robots file isn't necessary? I'm using next.js latest version for a one route app that shows the leaderboard of pro players. Same question about the step of using schema-dts. Currently I have nothing special in the way I'm defining schemas. For example this is one of my schemas simplifeid : player: { id: .., name: .., numberOfVotes:...}

  • @kaiesmahmud6477
    @kaiesmahmud6477 8 месяцев назад

    thank you, It helps me a lot🥰

  • @arazmmmdli6126
    @arazmmmdli6126 6 месяцев назад +1

    Hi, Where can I find the source code of this video? I looked at your own site, but the whole code is not there. For example, you imported the findAllPosts or getPermalink functions from utils, but the content of none of those functions can be viewed. How can we see the full source code?

  • @tejasyoutuber
    @tejasyoutuber 9 месяцев назад

    Hi, love the content of the video. I have one doubt how to add multiple jsonld schema for single page?. Like i have event page and it have 3 sessions so i have to create 3 events schema with different session time.
    How many jsonld can we add per page ?

    • @KodapsAcademy
      @KodapsAcademy  9 месяцев назад

      I don't have perfect knowledge of Google's algorithm (obviously), but my understanding is that if it is on the page (as "normal" HTML content that humans can read), you can have a schema that expresses it. I would also not overdo it, though, and try to limit the number of simultaneous schemas of the same type - I think 3 might be okay, but to be honest, I'm not sure. I'd have to look at Google's code to know (and even that could change).

  • @oleksii5138
    @oleksii5138 4 месяца назад

    do i need to use generateMetadata with StructuredData?

  • @alfonzohernandez1435
    @alfonzohernandez1435 7 месяцев назад +1

    What theme is it