WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Moving wordpress hindered by fielpaths in SQL dump (2 posts)

  1. Magistar
    Member
    Posted 2 months ago #

    Hi there. I am trying to move my new wordpress to a different host.

    However as I already found out on my dev server; Moving WordPress is not as easy as the Codex suggests.

    The issue lies in the fact that the path to some files is being stored in the Mysql database.

    I did a quick search on my current directadmin name: "w7478xxx" and I found 61 (!) references.

    ;s:13:"DOCUMENT_ROOT";s:53:"/home/w7478xxx/domains/xxx.com/public_html";s:14:"REQUEST_SCHEME";s:4:"http";s:14:"CONTEXT_PREFIX";

    For my dev server I used the Blue Velvte plugin to regenerate all media. However for my live site that is not ideal.

    Now here things get interesting... On my clean install on the new host the database does not show any signs of a path. So I am clueless how to replace that path.

    Any suggestions?

  2. Magistar
    Member
    Posted 2 months ago #

    Ok I managed to "solve" this issue by editing the .sql file with Notepad++ and using find/replace on all instances to the new DirectAdmin username.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.