• I am quite experienced with WordPress but I have never moved the blog to another server. I did a search and read through tons of topics, including the official How-to move to another server.

    Here are the steps that I wanna take and the questions that I have:

    1. Save the SQL DB from the current server.
    2. Download the full folder where the blog resides
    3. Create a new DB on the new server, import the SQL file, upload the full folder, change the settings in wp-config.php to reflect the new DB name and password.

    Now here are a few things that I am confused about:

    – if I look in the SQL file, I see that all my uploaded pictures have an absolute path, for example /home/user/public_html/sitename . The new path is different, something like /home/user1/public_html. My question is: will this path get automatically updated to reflect the new server or I would have to do a search and replace manually?

    – second, in the past, the blog was moved one more time and in the SQL file, I see some queries like this: INSERT INTO wp-postmeta…..etc..etc.. wp_attached file , /home/user/public_html/different_folder/
    First, the above path is totally different from the ones where the photos were uploaded and second, what is wp-postmeta ? Should I worry about making these changes as well?

    Thank you and I hope the questions weren’t confusing

Viewing 8 replies - 1 through 8 (of 8 total)
  • You missed some steps

    1. backup current database as is and call it old
    2. change url info in WP (you will not be able to log in anymore)
    3. backup database again and call it NEW
    4. back up full WP install via FTP

    5. Upload NEW database to new MySQL (make sure to call the database the same thing)
    6. Update your config.php file with the new server location
    7. Upload the WP install backup onto new server via ftp.

    Now it all should work.

    as for your last two questions, sorry, don’t know. All internal links will be pooched I believe.

    Thread Starter horatiub

    (@horatiub)

    of course,all the backups will be done. Now, I’m not sure if calling the databases the same thing will make a difference since the names can be changes in wp-config.php on the new server.
    Also, why would I change the URL info if the name stays the same? The domain will not change, just the server.

    On Step 6, what do you mean by the new server location?

    Thread Starter horatiub

    (@horatiub)

    anyone?

    Moving WordPress should explain.

    6. Update your config.php file with the new server location

    Probably should be:
    6. Update your wp-config.php file with the new database information as necessary. $table_prefix would remain the same though.

    Thread Starter horatiub

    (@horatiub)

    That’s what I thought, but I’m still waiting for an answer on my initial questions. Thank you

    Thread Starter horatiub

    (@horatiub)

    can anyone please answer the initial question?

    #1. Don’t worry about it. When installed in the new location, WP will upload the files (images) into the correct folder, assuming you set it in the Settings > Miscell.

    #2. You do NOT have to edit anything besides what is in the instructions. Don’t overcomplicate it.

    hey there.
    I have often moved wordpress without a glitch, but now, I have a problem. I am sure I did everything by the book, but still, when I access the newly moved site, wordpress greets me with the famous 5 minute installation ??

    What could have gone wrong so that wordpress doesn’t notice it is actually installed?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Move to another server — Different questions’ is closed to new replies.