WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have my wordpress blog in the root of my website (example.org) and would like to store uploaded files in a subdomain depending on type of file, for example I currently have static.example.org/images, static.example.org/video and static.example.org/audio and was trying to find a way to put uploaded files in the subdomain through the Wordpress Interface.

I've found a plugin which is quite dynamic in storing files, but it won't pass to subdomians, can anybody help or suggest anything?

share|improve this question
just grab the extension of the file and then place it in the physical path + something like "domains" + extension.YOURBLOG ? – edelwater Dec 28 '10 at 0:19
Which plugin were/are you using? How was your solution in the end? – user10924 Dec 7 '11 at 12:20
In the end, I was happy to store my files in a single subfolder, I didn't bother about seperating them up into music/video/images. I did this by using the method provided by @Luis in the answer above (see image: i.stack.imgur.com/9jaez.png) – tombull89 Dec 7 '11 at 12:27
up vote 2 down vote accepted

Try changing the upload path by referring to following tutorial, then use the plugin again.


share|improve this answer

Your Answer


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.