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:

http://www.olddomain.com/wp-content/uploads/

to

http://www.amaazons3serviceurl.com/wp-content/uploads/

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

http://www.olddomain.com/wp-content/uploads

/

but if go ppost shows insite amazon s3 photo displaying.

i have tried:

  1. restore database several times (4 or 5)

  2. tried regenerate thumbnails plugins (3 different, waited several hours because have more 24k photos, didn't help)

  3. tried clean cache

  4. tried updating database sql query with: update wp_posts set guid = replace (guid, 'http://oldcomain.com/', 'http://mynewcdndomain.com/') post_type = 'attachment'; or update wp_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

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -