admin管理员组

文章数量:1290095

I have my wordpress blog in the root of my website (example) and would like to store uploaded files in a subdomain depending on type of file, for example I currently have static.example/images, static.example/video and static.example/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?

I have my wordpress blog in the root of my website (example) and would like to store uploaded files in a subdomain depending on type of file, for example I currently have static.example/images, static.example/video and static.example/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 asked Dec 27, 2010 at 20:04 tombull89tombull89 2872 silver badges7 bronze badges 3
  • just grab the extension of the file and then place it in the physical path + something like "domains" + extension.YOURBLOG ? – edelwater Commented Dec 28, 2010 at 0:19
  • Which plugin were/are you using? How was your solution in the end? – user10924 Commented Dec 7, 2011 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.sstatic/9jaez.png) – tombull89 Commented Dec 7, 2011 at 12:27
Add a comment  | 

1 Answer 1

Reset to default 2

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

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

本文标签: customizationinserting uploads into subdomain