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
wp-optionsto a new one
But I'm still getting redirected on the old URL pressing on the header.
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.