Title: custom folder outside wordpress
Last modified: February 22, 2020

---

# custom folder outside wordpress

 *  Resolved [Darlinghissima](https://wordpress.org/support/users/darlinghissima/)
 * (@darlinghissima)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-folder-outside-wordpress/)
 * Hi. I need a plugin which lists the files that I have uploaded in a folder *outside*
   the wordpress installation, like: public_html/repository/photos and automatically
   updates the list when I upload a new file.
 * Can I use “Simple File List” to achieve this result?
 * Thanks! 🙂

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

 *  Plugin Author [Mitchell Bennis](https://wordpress.org/support/users/eemitch/)
 * (@eemitch)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-folder-outside-wordpress/#post-12468327)
 * If your WordPress home folder is public_html, then it will work. If it’s within
   a sub-folder of public_html, then it will not. The file list folder must relative
   to ABSPATH, aka the WordPress home folder.
 * A work-around would be to install a second copy of WordPress in repository or
   above.
 *  Thread Starter [Darlinghissima](https://wordpress.org/support/users/darlinghissima/)
 * (@darlinghissima)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-folder-outside-wordpress/#post-12468460)
 * Thank you, unfortunately my WordPress home is in public_html/wp and I cannot 
   do the trick you have kindly suggested… 🙁
 * If you like, would you explain why what seems to me a very simple feature, that
   is display the folder’s list of files uploaded via ftp, is not implemented – 
   for what I know – in any WordPress plugin unless the folder is inside the WP 
   home?
 * Thanks again! 🙂
 *  Plugin Author [Mitchell Bennis](https://wordpress.org/support/users/eemitch/)
 * (@eemitch)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-folder-outside-wordpress/#post-12469169)
 * A fair question. The reason is due to security concerns. WordPress can reside
   in the top-most public folder. If I allowed users to go above this level and 
   off to who knows where, bad things could happen. So for purely security concerns,
   I limit the file list folder’s location to levels below the WordPress home folder.
 * I would suggest you move your site up to public_html, the top-most public folder
   for your domain. This is a five minute process. Then you can use the repository
   directory tree as you wish.

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

The topic ‘custom folder outside wordpress’ is closed to new replies.

 * ![](https://ps.w.org/simple-file-list/assets/icon-256x256.png?rev=1330838)
 * [Simple File List](https://wordpress.org/plugins/simple-file-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-file-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-file-list/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-file-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-file-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-file-list/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mitchell Bennis](https://wordpress.org/support/users/eemitch/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/custom-folder-outside-wordpress/#post-12469169)
 * Status: resolved