The redirect is where migrations are won or lost
Everything else about an HTTPS migration is mechanical. The redirect is where sites lose rankings, and there are two ways to get it wrong.
Redirecting to the homepage. Sending every HTTP URL to https://example.com/ discards each page's accumulated signals. Every old URL must map to its own HTTPS equivalent, path preserved.
Chaining. http://example.com/page → https://example.com/page → https://www.example.com/page is two hops where one would do. Combine the protocol and hostname decisions into a single redirect rule.
Then update everything that names a URL: internal links, canonicals, hreflang, the sitemap, and the property in Search Console — which treats HTTP and HTTPS as separate sites, so the new one has to be added or you lose visibility into your own migration.