Next.js · Junior · Question 55 of 75

How does permanentRedirect() differ from redirect()?

Explanation

Use a permanent redirect when a URL has moved for good (e.g. a renamed slug), so search engines transfer ranking to the new address.

Further reading

Problem with a question

Next.js · Junior · question 55

Test yourself

Take the Next.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz