Support » Installing WordPress » Mutiple tries to move from one host to another failing

  • I gone a few rounds loading and reloading my site.
    My old cheap host went out of business, and now I’m hosting on a new cheap hosting site. The domain name has been migrated. The old host is gone.

    The best result I got last night was to install WP with cPanel ‘Site Software’ using the same credentials and database name. Then I loaded in a Dreamweaver clone of the files from the old public_html replacing newer. And then I loaded the data using phpMyAdmin into the same named database.
    The result of this was the site would load the opening page just like the old site. The theme was in place, the poll worked, photos/graphics were fine and calendar popups would even load. But I’d get a can’t find page error 404 on any link off the first page. Log in would allow me to input name & password, and then the screen would go white.
    I experimented with different versions of wp-config.php and most of those tries broke the site with the big bold database connection error.

    So, here’s what I have to try to rebuild.
    >Dreamweaver site clone of the last version of the working site.
    >phpMyAdmin backup of the WordPress database.
    >cPanel full backup
    >WordPress Export .xml file

    Any advice on how to get this going again would be appreciated. I’ve read many migration tip pages and I’m not getting the right combination of steps to get everything reinstalled.

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi


    Forum Moderator

    That’s the main instruction page that got me in trouble.

    I think this part fit what I was doing the closest:
    If You Don’t Care If Your Old Blog Works
    Download a copy of the main wordpress files from your OLD blog to your hard drive and edit wp-config.php to suit the new server.
    As noted above I downloaded everything I could. The link to the new server was an issue. I had a temporary address: or the same URL as choices here. It didn’t make sense to use the temporary address, and the URL wasn’t changing once the nameservers were updated.
    Go back to your OLD blog and go to Administration > Settings > General and change the url (both of them) to that of your new site.
    same address issue
    Login on your server and go to phpmyadmin and export as file and save your database (but keep the old one just in case), upload this new database and the copy of the wordpress core files with the edited wp-config.php to your new server. That’s it!
    Lost here again. I did the SQL export from the old server and have that. But what do I edit in wp-config.php if the URL is the same?

    I’m kind of stuck with the resources I have because the old host was turning everything off today.



    Forum Moderator

    But what do I edit in wp-config.php if the URL is the same?

    You need to add the access details for your new database.

    Sorry I’m slow.
    I checked the database and see a match for both the DB_NAME and DB_USER. The only part that might have needed to change was the password. I made sure that matched too.

    After I import the SQL tables back in the blog does show up:
    But now I get the white screen (of death) on any dashboard pages.

    And I get this on any link off the home page:
    Not Found
    The requested URL /category/other-singings/ was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    The database appears to be read because otherwise the first page wouldn’t load with everything in place (comments, calendar, theme, etc.). It seems like something in the database is affecting links and causing the errors.

    wp_options – Permalink_structure is set to /%year%/%postname%/ but clicked links don’t have a year? Problem?

    I can browse to files adding directories like /wp-content/gallery/ to the URL string.



    Forum Moderator

    Is there an .htaccess file in the WordPress root folder?


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    I just pushed out the local copy of .htaccess to overwrite the one on the server, and the link problem seems to have resolved.
    I’m still getting the white screen trying to get into the dashboard, though.

    I think I should reinstall the current version using the upgrade process. My guess is that using Dreamweaver to do the loading in of the files has mucked up the WordPress install.
    According to another post, I’d back up the database and then follow steps 7 & 8. Does that seem like a good approach?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Mutiple tries to move from one host to another failing’ is closed to new replies.