If you can access your sites database via phpMyAdmin, follow these steps to check that the links and images aren’t “hard-coded”:
- Navigate to your hosting account/phpMyAdmin
- Find the database and click on it to select it
- From the top toolbar click on Export
- 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). - 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). - Once the file is open in NotePad++, search for the old domain name
(http://localhost:8080
, or whatever it was) and choose find all. - 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 typehttp://localhost:8080/
in the
find box andhttp://www.your-new-domain-namehere/
in the replace dialog box then click
replace all.