php - Wordpress: After transfer images to cdn featured images and thumbnails gone -
so confusing me,
i transferred media amazon s3 , files amazon ec2, i'm holding mysql in amazon rds service. before transfer have changed notepad media path from:
to
and have uploaded it, first day ok, saw images amazons3, media section of wordpress admin menu amazons3 media url, after day when configurating wordpress, happened, , reverted thumbnails featured images gone, shows on thumbnails url
/
but if go ppost shows insite amazon s3 photo displaying.
i have tried:
restore database several times (4 or 5)
tried regenerate thumbnails plugins (3 different, waited several hours because have more 24k photos, didn't help)
tried clean cache
tried updating database sql query with:
update wp_posts set guid = replace (guid, 'http://oldcomain.com/', 'http://mynewcdndomain.com/') post_type = 'attachment';
or updatewp_posts set post_content = replace (post_content, 'olddocmain.com', 'newcdndomain.com') post_type = 'attachment';
inside wordpress admin in media section there no photo.s displaying properly, before when transferred displaying , showing in amazon, says not able find photos ant path of domain not amazon s3.
does know why happens , problem?
ok, think come handy people me.
if person wants transfer existing images cdn doesn't matter amazon or other person should use w3 total cache because plugin allows u rename existing media urls , more have fixed problem plugin hope people find topic , have same issue fix annoying problem also.
Comments
Post a Comment