Below is the answer and explanation for what is the purpose of a 301 redirect?
What is the purpose of a 301 redirect?
To temporarily redirect users from one URL to another.
To prevent search engine crawlers from indexing a page.
To resolve duplicate content issues.
To permanently redirect users from one URL to another