Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I know it's possible to setup a CDN with W3 Total Cache for cached content. However, how would I setup a CDN with WordPress to initially upload all media content (images, videos, files, etc.) directly to the CDN instead of my web host/local install. I'd like to completely bypass uploading content to my hosting account and simply host it via CDN.

For example: if I uploaded an image via WordPress, I'd like it to automatically be sent to the CDN.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

To totally bypass WP, just use the CDN native interface or a utility like cyberduck to upload you files directly to the CDN and embed the file from the "From URL" tab at the add media thing.

This can work with files and video but will be problematic with images as WP process images to create thumbnails and gather EXIF and location information if they have. If you need any of this then you can't totally bypass WP unless you are willing to generate this info by some other way.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.