If the goal is to preserve backlink value, make sure the 301 redirect points to a highly relevant page, not just the homepage.
For single URLs, Redirect 301 /old-url /new-url is enough.
For multiple URLs or folders, RewriteRule works better.
Always test redirects with curl or browser dev tools...