The default file upload path used by Drupal is sites/default/files.

How can the default path be changed for a content type?


1 Answer 1


The public filesystem is a system-wide setting; it can't be different per content type.

There's a setting under every file field attached to your content types that will allow you to choose the sub-folder within public:// that files for that field are uploaded to.

As an extension you can get a more advanced version of that functionality with the File (Field) Paths module...but beware, there are issues with it and you'll need to test thoroughly before deploying to a live site.

One of those methods will likely be your best bet. There's lots more info at Working with Files in Drupal, including documentation on how to use the private file system (in case you can leverage that).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy