A permanent redirect sends a visitor or crawler from an old web address to the address that has taken its place.

For a site move Google recommends permanent server-side redirects such as HTTP 301 or 308. Each old address should lead to the relevant new page. A redirect to the homepage may technically work while leaving a customer to hunt for the service they had already found.

Sources

developers.google.com: https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes

Read on