The problem is as follows. When transferring a site from LAN to hosting from somewhere, links to the local site are taken. It was site.loc - it became site.ru. During the transfer, all the links in the database changed, there are no matches for site.loc. Just in case, I checked the search on the entire site, maybe in the templates somewhere left, but also not.
When transferring, there was a problem that the WP Mega Menu plug-in left links to site.loc in the menu, but I re-formed the menu, and everything seemed to be correct. But, if you look through the screaming frog, somewhere there are these paths that lead to the local site.
I foresee that there will be comments that manually transfer the site is not Orthodox, but what can we do now, how can you kill these incorrect links in this situation?