I made a clone of my wordpress website and I published it on other domain. I used wp-migrate-db plugin to change domain in database and it looks almost perfect, but.. I have a problem with CSS and JS files URLs problem. Still have old domain. I checked database – looks good. I do not know how this URL is generated?
<head>
<!--...-->
<link rel='dns-prefetch' href="https://old-domain.com" />
<!--...-->
<link rel='stylesheet' id='twentytwenty-style-css' href='http://old-domain.com/assets/themes/twentytwenty/style.css' media='all' />
<!--...-->
<script src='https://old-domain.com/assets/themes/twentytwenty/assets/js/index.js' id='twentytwenty-js-js' async></script>
<!--...-->
About what I forgot?