Configure Path Aliases
Configure path aliases for content types
The `next-drupal`
plugin uses paths to resolve resources for `getStaticProps`
. To make this work, we need to configure path aliases for our content types.
Let's add a pattern for the Article content type.
- Visit
`/admin/config/search/path/patterns/add`
. - Fill in the following values:
- Pattern type:
`Content`
- Path pattern:
`blog/[node:title]`
- Content type:
`Article`
- Label:
`Article`
- Click Save
Done. You have completed the Drupal configuration.