Title: directory error during setup
Last modified: August 31, 2016

---

# directory error during setup

 *  Resolved [rock304](https://wordpress.org/support/users/rock304/)
 * (@rock304)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/directory-error-during-setup/)
 * First off let me say thank you for this application..It is amazing and as you
   have said..all you need
 * Of note..i did have nfw installed before on this server/acct..Today I changed
   the name of the account to a different domain..
 * anyway
 * I get this error during NFW setup
 * Your WordPress directory (/home/clarks/public_html/eb/) is different from your
   website document root (/home/clarksto/public_html/). Because it is possible to
   install WordPress into a subdirectory, but have the blog exist in the site root,
   NinjaFirewall needs to know the exact location of the site root.
 * Please edit the path below only if you have manually modified your WordPress 
   root directory as described in the Giving WordPress Its Own Directory article.
 * there is nothing in /home/clarks/public_html
 * only one wp installation in /home/clarks/public_html/eb
 * mydomain.com/eb is in both places the general settings page
 * thanks
 * [https://wordpress.org/plugins/ninjafirewall/](https://wordpress.org/plugins/ninjafirewall/)

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

 *  Thread Starter [rock304](https://wordpress.org/support/users/rock304/)
 * (@rock304)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/directory-error-during-setup/#post-7331825)
 * ok..NFW installed fine in a different directory so must be that i changed domain
   name and installed it on the new domain but in a directory with same name
    like
   [http://www.xyz.com/eb](http://www.xyz.com/eb) original [http://www.zyx.com/eb](http://www.zyx.com/eb)
   new one that won’t install
 * Even though it was not installed on the new wp install i was getting notifications
   re: console logins
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/directory-error-during-setup/#post-7331851)
 * This message is normal: when NinjaFirewall detects that the website document 
   root ($_SERVER[‘DOCUMENT_ROOT’]) and WordPress directory (ABSPATH) are different
   if will offer the possibility to adjust the path. Most of the time, there is 
   no need to make any change, but in a few cases, it may need to be edited.
 *  Thread Starter [rock304](https://wordpress.org/support/users/rock304/)
 * (@rock304)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/directory-error-during-setup/#post-7331897)
 * mine did not work whether i changed things or not. it is still there uninstalled..
   I installed wp in a new directory and it went 123
 * there is nothing installed here /home/clarks/public_html
    and it would not install
   here /home/clarks/public_html/eb
 * eb is wp
    Anyway it is installed in the new directory and I can sleep at night.
   thanks
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/directory-error-during-setup/#post-7331903)
 * Maybe the directory name contained a trailing space?
 * Anyway, if it is working now that’s a good thing!

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

The topic ‘directory error during setup’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/directory-error-during-setup/#post-7331903)
 * Status: resolved