I had never done migrating a site on wordpress, I\'ll put step by step how I did, need to put the site on a new domain that are on the same server, so only the migrated files, t
If this setting not work: define('WP_HOME','domain.com'); define('WP_SITEURL','domain.com');
Try a new browser and clear cache. or try to disable all plugins and check if it working.
Mine worked after i removed cache.