Whatever route you take, get the details right, because a redirect done badly loses most of the benefit of doing it at all.
- Use a permanent redirect rather than a temporary one, so search engines transfer the ranking signals to the new address.
- Redirect path-for-path, not everything to the home page. A visitor following an old link to a specific article should land on that article, not on the front page. Wholesale redirection to the root is treated as a soft error by search engines and it is a bad experience.
- Cover both the bare domain and the www form, over both protocols. That is four combinations and people routinely configure two.
- Keep it running for years. Old links live a long time. Retiring the redirect after six months throws away the traffic you were trying to preserve.