1

I don't know what part is "permanent" or not. Is this related to SEO? https://nextjs.org/docs/api-reference/next.config.js/redirects

abc
  • 1,141
  • 12
  • 29
  • Does this answer your question? [HTTP redirect: 301 (permanent) vs. 302 (temporary)](https://stackoverflow.com/questions/1393280/http-redirect-301-permanent-vs-302-temporary) – juliomalves Sep 10 '21 at 20:52

1 Answers1

2

The permanent flag as true would be a 301 permanent redirect whereas the false option would be a 302 temporary redirect.

Good canonical answer on SO: https://stackoverflow.com/a/1393298/241153

serraosays
  • 7,163
  • 3
  • 35
  • 60