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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -