Our account has been moved to a new server.
We have reinstalled the database from a backup. After this the path to our pictures is wrong. They won´t show.
For example:
http://jomari.se/wp-content/uploads/2008/11/kaffebryggare1.jpg
WP has put in the number 1 in almost every link. (1.jpg)
http://jomari.se/wp-content/uploads/2008/11/kaffebryggare.jpg
When I erase the number 1, the picture will show. How can I restore this in every path to picture?
Please help me, I dont want to loose a years job.
Best Regards Marie
s_ha_dum (was apljdi)
Member
Posted 3 years ago #
Open your database using the backend provided by your web host. Browse to the wp_posts table (the 'wp' prefix will be different if you've changed it). Now you need to find one of your images. Probably the easiest way to do that is to go to the WP Media manager, find an image, click to edit it and then look at the URL in the browser window. You'll see 'attachment_id=somenumber'. That number-- somenumber-- is the ID number in wp_posts. Find the DB row with that number. There should be some kind of search function in the backend. Now look over to the guid column. Is that URL correct?
In the guide column I find this URL http://jomari.se/wp-content/uploads/2008/11/kaffebryggare1.jpg and thats the wrong one.
How to do now??
s_ha_dum (was apljdi)
Member
Posted 3 years ago #
OK. Good. What did you do? Edit the database by hand?