Many images in the gallery display errors after using Duplicator Pro plugin

skypeleft

Active member
Aug 10, 2019
401
71
28
After I moved my website from the old domain to the new domain with the Duplicator Pro plugin. There is an error: many images in the library are not showing, and it looks like they cannot be loaded, so the thumbnails are not showing up on every post of mine.
I searched and replaced the URL, but the image is still not showing.
I use the export and import functions of WordPress from the old domain to the new domain, the image is displayed but the thumbnails of each post are not displayed.
Who had the same problem as me and has the solution to my problem ?. Best regards
 

DatDudeUpStairs

Be the change that you wish to see in the world.
Trusted Uploader
Jun 30, 2019
1,334
786
113
Asgardia
Yes, image don't load
Make sure your wordpress URL and site URL are correct. You can override it by adding this to the wp-config.php file:




define('WP_HOME','http://domain.com');
define('WP_SITEURL','http://domain.com');

check the status of SSL as well. it may interfere with the whole thing.


You can also use a plugin to fix all of your broken links to the image files. With this plugin, you can search for all old urls and replace it with the new urls.
https://wordpress.org/plugins/cm-on-demand-search-and-replace/

One more option is to run this SQL query:
UPDATE wp_posts set post_content=REPLACE(post_content, 'oldsite.com/', 'newsite.com/');
 

skypeleft

Active member
Aug 10, 2019
401
71
28
Make sure your wordpress URL and site URL are correct. You can override it by adding this to the wp-config.php file:




define('WP_HOME','http://domain.com');
define('WP_SITEURL','http://domain.com');

check the status of SSL as well. it may interfere with the whole thing.


You can also use a plugin to fix all of your broken links to the image files. With this plugin, you can search for all old urls and replace it with the new urls.
https://wordpress.org/plugins/cm-on-demand-search-and-replace/

One more option is to run this SQL query:
UPDATE wp_posts set post_content=REPLACE(post_content, 'oldsite.com/', 'newsite.com/');
I did it all, but images can't load
Like that
missingimages.png
 

ashkan.khalili

New member
Nov 23, 2019
7
1
3
Hi @skypeleft
try this first, check the wp-content/upload folder permission from you hosting panel or any ftp software like Filezilla, as it shown in the photo you have attached, wordpress has not enough permission to access that folder, hence it cant actually read the files from it's location.
It shows you there is a file there because the file location has a record on database, but it cant open the file cause of permission.
 

Forum statistics

Threads
69,482
Messages
909,936
Members
239,751
Latest member
afshin.dehghani1

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu