php - wordpress image url wrong in database -


did search it's not working in case.

we have wordpress website migrated on few months ago , images displaying wrong link still.

for example, 1 image on gallery has url of 'http://1.1.1.1/~websitename/wp-content/uploads/2015/03/image.jpg' , should 'http://ournewwebsite.com/wp-content/uploads/2015/03/image.jpg'

i've changed post guid in db 1 particular post hasn't worked, need change other settings images?

edit: i've found issue in postmeta table, images in string on these, there many follow format in html, need search , replace instances of ip address , not full path they're different...

thanks in advanced

try using plugin,

https://wordpress.org/plugins/velvet-blues-update-urls/

update guid's , urls old new.


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -