Title: Changed default WordPress folder
Last modified: August 20, 2016

---

# Changed default WordPress folder

 *  Resolved [DeezNotes](https://wordpress.org/support/users/deeznotes/)
 * (@deeznotes)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/changed-default-wordpress-folder/)
 * I have installed WordPress into a sub-folder of the root of my website and it
   is now missing some files that it should be backing up. Where can I edit the 
   path the plugin is using to get the root of the site? Can I hard-code this somewhere
   or put a “../” somewhere?
 * Thanks in advance.
 * [http://wordpress.org/extend/plugins/wordpress-backup-to-dropbox/](http://wordpress.org/extend/plugins/wordpress-backup-to-dropbox/)

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

 *  Plugin Contributor [Michael De Wildt](https://wordpress.org/support/users/michaeldewildt/)
 * (@michaeldewildt)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/changed-default-wordpress-folder/#post-3167469)
 * The plugin is only designed to backup a WordPress blog and its contents. Backing
   up folders outside of the ABSPATH is not supported.
 * However, if you really want to do so you can add another path in class-wp-backup.
   php on line 131. Eg:
 * $this->backup_path(‘/home/www/some/other/path’);
 * This path has to be absolute and must be readable by apache to work.
 *  Thread Starter [DeezNotes](https://wordpress.org/support/users/deeznotes/)
 * (@deeznotes)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/changed-default-wordpress-folder/#post-3167470)
 * Thanks for your reply.
 * Unfortunately, this change didn’t work for me. It didn’t change the “excluded
   folder” view from the plugin’s settings, but I waited for the scheduled backup
   to start prior to posting the results just in case. I also didn’t see the option
   to manually start a backup, but that’s fine.
 * Just to be certain, the file I modified was: [wp-content/plugins/wordpress-backup-
   to-dropbox/Classes/class-wp-backup;php]
 * Lines 130-132 original:
 *     ```
       $this->backup_path(ABSPATH);
       			if (dirname (WP_CONTENT_DIR) . '/' != ABSPATH)
       				$this->backup_path('WP_CONTENT_DIR');
       ```
   
 * Lines 130-132 modified:
 *     ```
       $this->backup_path(ABSPATH);
       			if (dirname (WP_CONTENT_DIR) . '/' != ABSPATH)
       				$this->backup_path('/path/to/website/root');
       ```
   
 * And just to be clear what I’m trying to do.. my website root is (for example)
   [http://www.whatever.com/](http://www.whatever.com/) and my wordpress installation
   is in [http://www.whatever.com/blog](http://www.whatever.com/blog). The plugin
   defaults to [http://www.whatever.com/blog](http://www.whatever.com/blog) to back
   up, but I would like it to back up [http://www.whatever.com/](http://www.whatever.com/)
   and all the subfolders under that.
 * Thanks again for your help.
 *  Plugin Contributor [Michael De Wildt](https://wordpress.org/support/users/michaeldewildt/)
 * (@michaeldewildt)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/changed-default-wordpress-folder/#post-3167471)
 * Hmmm,
 * In that circumstance it can get a bit interesting. You should comment out those
   two lines and add a single backup path of your website root.
 * The exclude widget will not show files outside of the WP root and you may run
   into issues with symbolic links.
 * Cheers,
    Mikey

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

The topic ‘Changed default WordPress folder’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-backup-to-dropbox_ffffff.
   svg)
 * [WordPress Backup to Dropbox](https://wordpress.org/plugins/wordpress-backup-to-dropbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-backup-to-dropbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-backup-to-dropbox/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-backup-to-dropbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-backup-to-dropbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-backup-to-dropbox/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael De Wildt](https://wordpress.org/support/users/michaeldewildt/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/changed-default-wordpress-folder/#post-3167471)
 * Status: resolved