Next.js Discord

Discord Forum

difference between temporary and permanent redirect?

Answered
Masai Lion posted this in #help-forum
Open in Discord
Masai LionOP
I'm looking at the nextjs redirect page https://nextjs.org/docs/app/building-your-application/routing/redirecting and there are 2 different functions for temporary and permanent redirects. I was wondering what the difference is between them besides the status code returned.
Answered by B33fb0n3
some search engines check this status code and do specific stuff, whenever temp- or permanentRedirect is statuses
View full answer

5 Replies

Answer
@Masai Lion solved?
Masai LionOP
yeah
thanks
Sure thing