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
1 Answer
Reset to default 2Try 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
版权声明:本文标题:customization - inserting uploads into subdomain 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741490194a2381583.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论