I have transfered my WordPress theme on another domain doing these steps:
- I have used a backup plugin and backed up database
- Transfered wp-content folder to the new site
- Uploaded the database to a new host
- Changed
siteurl
inwp-options
to a new one
But I'm still getting redirected on the old URL pressing on the header.
In header.php
the PHP echo home_url();
could be changed, so I'll be redirected on the new URL but I'm not sure that this is the solution.
Would be glad to hear from you what have I done wrong.