Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
SOLVED: Best/Viable WordPress plugin for DO Spaces CDN
I recently noticed my droplet’s storage becoming full (98.8%), not allowing me to do my daily rotating backups and I therefore decided to take the plunge to implement a DO Spaces CDN.
All seemed to go well in creating the DO Spaces CDN, but not so good with the DO Spaces Sync for WordPress. I think I managed to implement it okay since when I upload images to the Media gallery I can now see the images being stored on the CDN.
However, the WordPress Media gallery only has greyed out placeholder blocks and no normal thumbnail. Plus when I try to view image (by clicking on the greyed out placeholder block) it also doesn’t display the image, also the link to the image simply 404’s as it’s not available in the normal URL (same for ‘Edit Image’ and 'View attachement’).
So basically I have a DO Spaces CDN that stores uploaded images onto the CDN, but is of no use since I can’t see the thumbnails in the gallery and also can’t view the individual images.
I’ve created a DO support ticket, but guess they must be very busy at the moment. I also can’t post a screenshot, but maybe the following config might shed some light?
FILE & PATH SETTINGS Full URL-path to files: https://mydomain.com/wp-content/uploads Local path: /var/www/mydomain/wp-content/uploads Storage prefix: / Filemask/Regex for ignored files: *
I’ve also tried prepending the 'FULL URL-path to files’ with the name of my CDN (i.e. https://mycdn.mydomain.com/wp-content/uploads) but that makes all previous images greyed out and again doesn’t display new uploads in the Media gallery (but they’re uploading to the CDN).
Any ideas as to where I’m going wrong?
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.×