Hitu Bansal
Hitu Bansal

Reputation: 3137

Images is not showing after migration wordpress

I have done migration of word-press from one server to another I have a link in which i am showing images, but the image exist in the directory, when i visit direct image it is showing 404.

Here is example link

http://example.com/wp-content/uploads/2015/04/9780007322602-100x128.jpg

But i doubled checked image is sitting into upload folder

Any idea ?

Thanks

Upvotes: 0

Views: 7098

Answers (2)

doru
doru

Reputation: 9110

Probably the images have the old url-s saved in the database. So you have to change all the old url-s to reflect the new url. You can/should use a plugin for this: try Velvet Blues Update URLs

Upvotes: 0

arkoak
arkoak

Reputation: 2497

Moving a site from one domain to another requires you to replace the domain name in all the links in posts / pages. This can be done using a database search and replace.

You should use the migration plugin if you are not familiar with the database updates required

https://wordpress.org/plugins/all-in-one-wp-migration/

Upvotes: 0

Related Questions