WordPress switch servers

If you can access your sites database via phpMyAdmin, follow these steps to check that the links and images aren’t “hard-coded”:

  1. Navigate to your hosting account/phpMyAdmin
  2. Find the database and click on it to select it
  3. From the top toolbar click on Export
  4. In the export window select all tables by clicking the first one in
    the box that contains your tables, hold down shift and click on the
    last one in the list (they should now all be selected).
  5. Depending on the phpMyAdmin version you might need to ensure
    download sql file is selected
    Use Notepad++ or the editor of your choice to open the file (I recommend NotePad++ for SQL files since many IDE’s can be a little sluggish with large SQL files).
  6. Once the file is open in NotePad++, search for the old domain name
    (http://localhost:8080, or whatever it was) and choose find all.
  7. Use the find dialog box to replace the old URL with the new.
    EXAMPLE: http://localhost:8080/wp-content/themes/yourtheme/images/logo.png
    might show up, you would only type http://localhost:8080/ in the
    find box
    and http://www.your-new-domain-namehere/ in the replace dialog box then click
    replace all.