Title: Basefolder in Multisite wrong
Last modified: August 7, 2017

---

# Basefolder in Multisite wrong

 *  Resolved [beatR](https://wordpress.org/support/users/codepage/)
 * (@codepage)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/basefolder-in-multisite-wrong/)
 * i have a multisite that runs under …/htdocs/test-kompakt
 * under /htdocs/ there are tons of other websites and data. for some reason, Backupwordpress
   tries to backup everything under /htdocs/ instead of the root of the multisite,/
   htdocs/test-kompakt. and of course if fails with timeouts.
 * is there a setting i can change somewhere to point to the right directory? of
   course i could exclude all folders and files manually, but that’s cumbersome,
   especially since the customer is constantly adding new stuff.
 * thanks!!
 * [screenshot](http://test-kompakt.de/basefolder.PNG)

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

 *  Plugin Contributor [Katrina “Kat” Moody](https://wordpress.org/support/users/katmoody/)
 * (@katmoody)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/basefolder-in-multisite-wrong/#post-9388718)
 * Hey there –
 * You should be able to use the `HMBKP_ROOT` constant in your `wp-config.php` file
   to specify the root directory of your site. The default is set by the plugin.
   But I thought for multisite the plugin was network-activated and controlled at
   the network admin level – was I wrong?
 * In any case you would use this line in your wp-config.php file:
    `define( 'HMBKP_ROOT','/
   htdocs/test-kompakt' );`
 * Does that work for what you’re needing?
 * Thanks,
    Kat
 *  Thread Starter [beatR](https://wordpress.org/support/users/codepage/)
 * (@codepage)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/basefolder-in-multisite-wrong/#post-9388831)
 * Hi Kat
 * fantastic. great. yes, the plugin is only on network-admin-level, which is perfect,
   all sites backed up from one place. but somehow it didn’t set the base-directory
   of the project right. this did the trick:
 * `define( "HMBKP_ROOT", "/mnt/web223/c3/05/52842605/htdocs/testkompaktde" );`
 * and the backup finally run thru and looks good, all backed up.
 * thanks!!
 *  Plugin Contributor [Katrina “Kat” Moody](https://wordpress.org/support/users/katmoody/)
 * (@katmoody)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/basefolder-in-multisite-wrong/#post-9391884)
 * Awesome! Thanks for letting me know!
 * Kat

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

The topic ‘Basefolder in Multisite wrong’ is closed to new replies.

 * ![](https://ps.w.org/backupwordpress/assets/icon-256x256.jpg?rev=1105225)
 * [BackUpWordPress](https://wordpress.org/plugins/backupwordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/backupwordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/backupwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/backupwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backupwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backupwordpress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Katrina “Kat” Moody](https://wordpress.org/support/users/katmoody/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/basefolder-in-multisite-wrong/#post-9391884)
 * Status: resolved