Support » Plugins and Hacks » [Resolved] Changed default WordPress folder

[Resolved] Changed default WordPress folder

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael De Wildt


    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 path has to be absolute and must be readable by apache to work.

    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:

    			if (dirname (WP_CONTENT_DIR) . '/' != ABSPATH)

    Lines 130-132 modified:

    			if (dirname (WP_CONTENT_DIR) . '/' != ABSPATH)

    And just to be clear what I’m trying to do.. my website root is (for example) http://www.whatever.com/ and my wordpress installation is in http://www.whatever.com/blog. The plugin defaults to http://www.whatever.com/blog to back up, but I would like it to back up http://www.whatever.com/ and all the subfolders under that.

    Thanks again for your help.

    Plugin Author Michael De Wildt



    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.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Changed default WordPress folder’ is closed to new replies.