Title: Problem creating WPPA folder
Last modified: September 6, 2017

---

# Problem creating WPPA folder

 *  Resolved [dutran](https://wordpress.org/support/users/dutran/)
 * (@dutran)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-creating-wppa-folder/)
 * I get this error when I try to activate the plugin:
 * Could not create the wppa directory. Ask your administrator to give you more 
   rights, or create /usr/share/wordpress/wp-content/uploads/wppa manually using
   an FTP program.
 * I did a couple of defines in wp-config.php to move the uploads folder to a subfolder
   via:
 * define( ‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/hack’ );
    
   define( ‘WP_CONTENT_URL’, ‘[http://&#8217](http://&#8217); . $_SERVER[‘HTTP_HOST’].‘/
   wp-content/hack’ );
 * The uploads folder should be under /usr/share/wordpress/wp-content/hack along
   with plugins and themes folders as well. However, the plugin doesn’t appear to
   see this change. I also tried:
 * define (‘UPLOADS’, ‘/wp-content/hack/uploads’);
 * This didn’t work either. Can it be fixed so that the plugin recognizes that I
   moved the wp-content folder?

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

 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-creating-wppa-folder/#post-9473748)
 * Who is the owner of the folder “hack”? Which permissions are set for the folder?
   
   The webserver needs to write to it, so you have to set proper permissions.
 *  Thread Starter [dutran](https://wordpress.org/support/users/dutran/)
 * (@dutran)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-creating-wppa-folder/#post-9473899)
 * The permissions are fine. I can install plugins and upload files to it just fine
   through wp-admin. However, when activating the WP Photo Album Plus plugin, it
   tries to install the various folder in:
 * /usr/share/wordpress/wp-content/uploads
 * instead of
 * /usr/share/wordpress/wp-content/hack/uploads
 * It doesn’t have rights to instead in wp-content/uploads but it does have permission
   to do it in wp-content/hack/uploads.
 *  Plugin Author [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-creating-wppa-folder/#post-9475284)
 * Follow the instructions on the Installation notes help page on [https://wppa.nl](https://wppa.nl)
 * Can not give a link, this reply is from my phone. Look in the menu on wppa.nl
   and you will find it under the Changelog toplevel menu item
 *  Thread Starter [dutran](https://wordpress.org/support/users/dutran/)
 * (@dutran)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-creating-wppa-folder/#post-9476316)
 * Ah. Thanks! I didn’t see the defines I need to set. That should fix the issues
   I have.

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

The topic ‘Problem creating WPPA folder’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-photo-album-plus.svg)
 * [WP Photo Album Plus](https://wordpress.org/plugins/wp-photo-album-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-photo-album-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-photo-album-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-photo-album-plus/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [dutran](https://wordpress.org/support/users/dutran/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/problem-creating-wppa-folder/#post-9476316)
 * Status: resolved