WordPress, Offload Media, Cloudflare DNS and CNAME with DO Spaces?
I have a WordPress site that currently uses the Offload Media plugin to move thousands of images to an AWS S3 bucket. I have my DNS hosted by Cloudflare and use their CDN and have a CNAME entry that points to my S3 bucket.
I want to use Digital Ocean Spaces instead of the S3 bucket. The Offload Media plugin renames the URL of all my images to cdn.domainname.com, the S3 bucket is called cdn.domainname.com, and the CNAME pointer on Cloudflare points to the cdn.domainname.com.aws.bucketname.com.
I’ve created a Space called domainname-com and can change the CNAME pointer to the Spaces endpoint name (not using Spaces CDN) so that the CNAME points to Spaces bucket with images. IF Offload Media continues to create URL’s for the images that same as it does today (i.e. cdn.domainname.com/directory/imagename.jpg - 1) will this work? and 2) will Google SEO not notice that the bucket has changed since the URL naming is the same?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.