change upload media folder to subdomain

Hello there

I wanted to change the default upload folder for all media, so as to locate them on a subdomain.

Why? Bc I’ve read this makes the upload of the site faster, but also because I understand -correct me if I’m wrong- that this is a good manner of protecting unwanted media download from your site. I would like the site to be a private membership site (for a school) and would like to avoid eg any picture to be downloaded by non members if they have the url.

I don’t really mind changing paths of already posted media as the site is quite new, and the number of media to reload and/or paths to rename, if any, is quite limited.

I chcked the forums, and tried to change the code but it didn’t work… :disappointed:

thanks a lot for your help :slight_smile: