• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Specifying an Uploads CDN URL?  Topic is solved
PostPosted: Thu May 18, 2017 6:33 am 
Offline
Forum Members
Forum Members

Joined: Thu Feb 07, 2008 10:28 pm
Posts: 92
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Specifying an Uploads CDN URL?
PostPosted: Fri May 19, 2017 4:25 pm 
Online
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 155
Location: Victoria, BC
You can do it in the config.php (see https://docs.cmsmadesimple.org/configur ... ploads_url )

_________________
You might actually like me when I'm angry, who knows?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Specifying an Uploads CDN URL?
PostPosted: Sun May 21, 2017 8:39 pm 
Offline
Forum Members
Forum Members

Joined: Thu Feb 07, 2008 10:28 pm
Posts: 92
Thank you, I will try it!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting