hey i’m sorry but i’ve tested with the same values, in my case it works well.
Can you describe step by step what you have done?
Thread Starter
Jack
(@moxie)
Could it be that it doesn’t work because somewhere in the past I changed the folder structure of the uploads folder? Should not matter I think because the references must be inside the database somewhere.
What I did: http://storage6.static.itmages.com/i/16/0805/h_1470374861_5851547_c02ca60c2f.jpeg
Thread Starter
Jack
(@moxie)
I reverted everything for the moment… 😉
Hey i can’t open the last images.
Have you solved the issue?
Thread Starter
Jack
(@moxie)
Hi Rene,
No, the problem still exists, but here and there I started to add the featured images back in manually.
Yesterday I did a full search and replace on the whole site, changing all wp-content/uploads/201103 formats into wp-content/uploads/2011/03
After that, especially in the year 2011 until march 2012 there are al lot of featured images missing. They still have the old format. When I do a new search for a string with the old format, Search and Replace can’t find that string, as if it isn’t there. But it still is, for a lot of featured images.
https://www.jacktummers.nl/2011/11/page/2/
Meanwhile, I also used the Add to server plugin to add all images into the new format, did a permissions rewrite on all upload files to set it to permisssions 755, regenerated all thumbs, did a repair and optimize on the database, but nothing helped.
Any ideas would be welcome, because it would take al lot of time to solve it manually ;).
in my opinion a search for “wp-content/uploads/201111/” and a replace with “wp-content/uploads/2011/11/” should work.
If not please send me a db dump and i’ll try it.
Thread Starter
Jack
(@moxie)
That’s the weird thing. I already tried that. Downloaded the sql file, opened it in a text editor and searched for /wp-content/uploads/201111/ and can’t find it. But that made me think and I searched for only one of the image names: elena.jpg and I found this:
http://pix.toile-libre.org/upload/original/1470732980.jpg
Thread Starter
Jack
(@moxie)
The question now is how this could happen and if it is safe enough to do a search and replace on only 201110/ etc.
I think it looks safe but make a backup and try it or create a test stage.
Thread Starter
Jack
(@moxie)
Seems to work 🙂 The only thing is I still have to go through a lot of images because they seem to have been saved as old small sized thumb images like 100x170px, and these can’t be regenerated. But at least now something shows up instead of nothing, so I can work my way back slowly.