Support » Fixing WordPress » Problem with migrating wordpress change url

  • Hi,

    I’m trying to migrate WordPress website from Server A to Server B and change URL from olddomain.com to newdomain.com at the same time.

    I have followed step by step instruction from https://codex.wordpress.org/Moving_WordPress. And also used Migrate DB plugin after I found old url in some of the tables in DB. I have done the whole process twice (deleted files and DB before migrating second time) in case if I made any mistakes in a first go.

    Currently when I type in new url martakamilla.com it redirects to old url martawalenda.com Also when I enter user and password at martakamilla.com/wp-admin it doesn’t log in.

    I hope someone will be able to help me.

    regards
    Maciek

Viewing 2 replies - 1 through 2 (of 2 total)
  • It looks like the old url nam eis not properly replaced with new url name in the databse. Using searchreplacedb2.php you can do this. May be this site is helpful for you https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Thanks mm_developer,

    I installed it but didn’t help.

    I did tests:
    – deleted database and still redirects
    – moved WordPress install to temporary folder. when typed in the url I can see list with the temporary folder in my browser, once I click on the folder it redirects me to my old domain.

    So, I think it’s somewhere in WordPress install, and not database.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with migrating wordpress change url’ is closed to new replies.