0

I have transfered my WordPress theme on another domain doing these steps:

  1. I have used a backup plugin and backed up database
  2. Transfered wp-content folder to the new site
  3. Uploaded the database to a new host
  4. Changed siteurl in wp-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.

migrated from webmasters.stackexchange.com Mar 1 '14 at 22:05

This question came from our site for pro webmasters.

  • 1
    You need to run a full find and replace on the database, the old site url is stored in MANY more places than that single option row. Search this site, there's a million guides/tools/scripts to do it for you. – Andrew Bartel Mar 1 '14 at 22:44
-1

I found the solution for this:

Settings » General » Change URL address

I changed my site URL to new and it's working just fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.