WP image link changes on permalink change

Migrated my joomla site to WP. The images were in a folder named ‘asets’ in joomla site. I copied the dir to wp and images work fine while url structure is raw.
But if I change the url permalink, the link to images also change.

sitename/?p=123 image path = sitename/asets/imagefile this works.

sitename/samplepost image path = sitename/post-name/asets/imagefile image not found

sitename/archive/123 image path = sitename/archive/asets/imagefile image not found

Please help me to solve this problem.

Read more here: WP image link changes on permalink change

Leave a Reply

Your email address will not be published. Required fields are marked *