Redirect status option #1202
m4rvelous252
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, do we have an option to control the status of the
redirect
middleware does. currently I see we're not passing any value in the second param of the redirect method in the middlewareBy default, this will result in a
307
status direction per theNextResponse.redirect()
Reading further into the status type for SEO,
307
seems to mean a temporary redirection to bots and would reduce some SEO metrics.I think we should consider adding this option in if we haven't already.
Beta Was this translation helpful? Give feedback.
All reactions