How to repair a WordPress site that has unresolvable image asset paths?

JayBase

Active member
Babiato Lover
May 6, 2022
146
151
43
Greetings Babiato Community,

I have a WordPress that was created by a 3rd party, they built it using full paths on a local machine with IIS. The fools added assets directly from their desktop and other silly places instead of putting all the assets into the relative root folder and then saving the change. After which they copied the assets from the various unresolvable locations and then dropped the assets into the relative root. Unfortunately they used more than one editor and various plugins so the source is not neatly wrapped up in one SQL table but distributed across many. So this defeats my ability of doing a table data drop, search replacing and then posting back to sort the issue. As you know the various edits also store the data in SQL differently so there isn't even a possibility of me doing a total db dumpand search replacement to fix the missing image paths in the site live display. Many empty image place holders.

Is there a plugin that you might know of that I could easily install and have it do the job for me? It is a multi page site and going through the entire site dump would take me at least two or more days of solid text editing to try and get the paths resolving.

If my post does not belong here, I apologize. This is my first forum post and I did read the rules.

Thank you for your consideration.

Jay
 

JayBase

Active member
Babiato Lover
May 6, 2022
146
151
43
Thank you for the reply
But as said they used various editors and some of the paths have multiple dellimters, etc in the string.
So It doesnt work correctly to just do a search and replace for the whole url like you have suggested. Else thats what I would have already done.

Appreciate the input though.

I will give that plug a try.
 

TriniFella

New member
Sep 28, 2019
17
6
3
Then you might have to go into MySQL and perform more complex search and replace functions, in multiple sweeps. Hope you have access to the DB to do so.
 
  • Like
Reactions: JayBase

JayBase

Active member
Babiato Lover
May 6, 2022
146
151
43
Thanks for the reply. Thats what I did do and even then it took me a while. Conditional search to bring up records by way of multiple key words so even if the string was broken up manually I could still see it and reference the record to change it. Couldn't trust a search and insert statement to do it all in one go. But hey hopefully the idiots learned not to go the way of cheap web dev and stick with reputable established companies who know their game.
 

Latest posts

Forum statistics

Threads
69,226
Messages
908,434
Members
237,019
Latest member
sanjeev236

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu