Compiling a list of matching urls is a very long and difficult task that requires perseverance and patience. To simplify the process, you can use the Levenshtein distance . In php, there is even a standard function that you can use. If everything is done correctly, the loss of positions, if any, will be insignificant and the site will retain its authority in the eyes of search engines. Also, you will not lose weight after moving from existing external links and avoid many pages with 404 server response code.
Indicate the domain name change in Search Clipping Path Service Console It is necessary to indicate to the Google search engine about the transfer of the domain using the Search Console service . in 4 stages: Add a new domain to Search Console and select it as a new domain. Correctly configure redirection from the old domain to the new one. Make sure that the correct confirmation methods are selected for the old and new sites.

Send a request to change the website address. Transferring the site to another domain Do not forget about the transfer of analytics systems When changing a domain, you must correctly transfer Google Analytics analytics systems to the new domain. This is done in two very simple steps: It is necessary to ensure that the codes are correctly placed on the new domain. Change the tracking domain to a new one in the Google Analytics interface. If the site's CMS is changed or the url is changed, it is absolutely necessary to correct the operation of all purposes and e-commerce, because they will most likely stop working.