Title: Custom upload folder syntax?
Last modified: August 21, 2016

---

# Custom upload folder syntax?

 *  [BobBalm](https://wordpress.org/support/users/bobbalm/)
 * (@bobbalm)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-upload-folder-syntax/)
 * Hi!
 * First off, very cool and easy to set up plugin!
 * But I’m running into a hickup: I’d like to keep file uploads from a form I created
   seperate from the content of my uploads folder, so I want files to go to a subdirectory
   within uploads. But I can’t figure out the syntax. I’ve checked and %wp_uploads_dir%
   works -> uploaded files do end up there. But I have no idea what to put there
   to make it go to, for example, /wp-content/uploads/formfiles or something.
 * In another post I saw you replied with %wp_uploads_dir%/foldername or %wp_uploads_dir%
   foldername, but neither of those work. Can you help me out?
 * [http://wordpress.org/plugins/wordpress-form-manager/](http://wordpress.org/plugins/wordpress-form-manager/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [BobBalm](https://wordpress.org/support/users/bobbalm/)
 * (@bobbalm)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-upload-folder-syntax/#post-4364591)
 * Basically, it’s the same issue discussed here – I tried the suggested solution
   but it doesn’t work: [http://wordpress.org/support/topic/plugin-wordpress-form-manager-specifying-an-upload-directory](http://wordpress.org/support/topic/plugin-wordpress-form-manager-specifying-an-upload-directory)
 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-upload-folder-syntax/#post-4364604)
 * For something like `%doc_root%/whatever` to work, the folder has to be editable
   by the process running WP (this is a server config issue). Usually you need to
   change the permissions on the folder to allow the ‘apache’ user and ‘apache’ 
   group have ownership & read/write access.. but this is just a typical setup, 
   yours might be different. Who is your host?
 *  Thread Starter [BobBalm](https://wordpress.org/support/users/bobbalm/)
 * (@bobbalm)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-upload-folder-syntax/#post-4364642)
 * Transip.nl, a Dutch hosting provider. Not sure what its default settings are,
   but it’s very customizable so I’ll have a look. Although I reckon I have full
   access to pretty much everything on it.
 * Did some searching:
 * > Some plugins require the /wp-content/ folder be made writeable, but in such
   > cases they will let you know during installation. In some cases, this may require
   > assigning 755 permissions. The same is true for /wp-content/cache/ and maybe/
   > wp-content/uploads/ (if you’re using MultiSite you may also need to do this
   > for /wp-content/blogs.dir/)
 * Is that the case here, and would 755 do the trick?
 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-upload-folder-syntax/#post-4364669)
 * That will work if the owner of that directory is the same as for the wordpress
   directory. So if it doesn’t, try changing the owner to the same as for ‘wp-content’,(
   usually ‘apache’).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom upload folder syntax?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-form-manager.svg)
 * [Form Manager](https://wordpress.org/plugins/wordpress-form-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-form-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-form-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-form-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-form-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-form-manager/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/custom-upload-folder-syntax/#post-4364669)
 * Status: not resolved