• Hi, I recently moved my wordpress website from one server to another server. I followed below steps for the migration.

    1. Downloaded full back up from old server which includes wordpress file and SQL database.
    2. Uploaded all wordpress file to new server under /home/my_usr_name/public_html/narveer.com/wordpress/. Old server also had same directory structure.

    3. Created a new database on new server. Create a new user, assign all the privileges to it. Assign new user to new database. Imported old database to new database.

    4. Edited wp-config.php . Replaced old database and username with new database and username/password.

    define(‘WP_CACHE’, true); //Added by WP-Cache Manager
    define( ‘WPCACHEHOME’, ‘/home/evlsixsb/public_html/narveer.com/wordpress/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
    define(‘MMAFF’, ‘hostgator’ ); //Added by QuickInstall

    define(‘DB_NAME’, ‘evlsixsb_newDB’);

    /** MySQL database username */
    define(‘DB_USER’, ‘evlsixsb_newUser’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘XXXXXXXXXX’);

    After this I am getting below Error
    This page isn’t working
    https://www.narveer.com is currently unable to handle this request.
    HTTP ERROR 500

    My Website link: https://www.narveer.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • you still have to go into the database itself and change all the references to the old URL.

    I ALWAYS use Akeeba BackupWP and Akeeba Kickstart to migrate my sites as it does all the hard work for you…

    You may want to try searchReplaceDB2.php

    It is a utility that you upload to your site and then run. It will change all the urls in the DB for you.

    Thread Starter Narveer

    (@yadavvlsi)

    jaycbrf Thanks for the reply. I have only backup available from the old server. I don’t have access to it. Also, I am changing only server. so url should remain same as I am not changing the domain name. Required changes for new database and user name needs to be done in wp-config.php that I already done. Am I still missing something ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Migrating wordpess to another host’ is closed to new replies.