How can I fix my broken images after migrating website? (I know the problem, just not how to fix it)

[ad_1]

Hi guys, I’m hoping someone here can help me.

So, a while back I made a bunch of changes to my website, including updating a bunch of the images.

I did this by cloning my website onto a different domain name and then cloning it back once I was done.

Most of this worked fine.

But, the problem is about 50% of my images are broken.

After looking into it a little bit, I realise the problem.

If I right click on any of the broken images (from within the WordPress post editor), and open them in a new tab.

They’re still using the old domain name in the URL.

(this website doesn’t exist anymore, so they’re linking to a broken web page).

Then, if I change the old domain to the new one in the URL, the image is there.

Now, I need to know how to go about fixing this…

If anyone here can help, I would really appreciate it.

I can explain anything more if needs be.

Thank you in advance,
Electric Rains.

[ad_2]
2 Comments

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer