I have a live Wordpress site which is hosted on www.abc.com. I want to do some major changes on the website. So what I plan to do is, replicate the site to a separate domain www.xyz.com [by copying all the files and folders along with the database], make the changes in this test domain and then copy the changes to the original site.
But when I create the new domain, copy the files and create a new database, the new domain, www.xyz.com works fine. But all the urls on the site still points to www.abc.com. Eve when I try to go to admin panel, it redirects me to that of www.abc.com.
So, as you can see by migration is temporary, only for testing purpose, so I cannot just login to admin panel and change the domain there, as the site www.abc.com is still up and running. Please suggest a way out.