Specifying an Uploads CDN URL?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Specifying an Uploads CDN URL?

Post by rbaby »

Is there a way to specify a different uploads root url? All my uploads are configured to upload the assets automatically to a CDN and instead of referencing all the assets locally, I'd like to have it automatically reference the CDN location.

Instead of: /uploads/images/image.jpg it would automatically be:
http://cdndomain.com/uploads/images/image.jpg

Right now I'm specifying the absolute reference, I'm wondering if there is an easier method.

Thank you.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Specifying an Uploads CDN URL?

Post by DIGI3 »

You can do it in the config.php (see https://docs.cmsmadesimple.org/configur ... ploads_url )
Not getting the answer you need? CMSMS support options
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Re: Specifying an Uploads CDN URL?

Post by rbaby »

Thank you, I will try it!
Locked

Return to “CMSMS Core”