I’m trying to get up to speed with responsive theme development in WordPress and have been looking at Bootstrap and combining it with HTML5 boilerplate. I came across this skeleton framework which combines both of them:
However, it sets up the uploads folder to be /assets/ in the root of my site. Is there any benefit to doing that? This theme looks like it’s doing a load of good stuff, so I’m assuming there’s a benefit to do so?
Thanks
Osu
The only directory a theme or a plugin should write to is the
uploads
directory. That is the only directory with guaranteed write access (besides the serverâs temporary directory).Anything else is wrong and might not work.
There is no practical difference between both, except one: the upload directory may be on another (sub) domain to save HTTP data. Cookies arenât sent to other domains, so an upload directory inside of the WordPress domain might be slower.