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 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

1 Answer 1

up vote 2 down vote accepted

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

http://7php.com/how-to-change-the-path-of-uploading-file-in-wordpress-2-8-x-2-9-x-without-touching-the-code-configurations/

share|improve this answer

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.