Title: Can&#039;t find wp-load.php
Last modified: August 31, 2016

---

# Can't find wp-load.php

 *  Resolved [cviebrock](https://wordpress.org/support/users/cviebrock/)
 * (@cviebrock)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cant-find-wp-loadphp/)
 * I’m trying to use the plugin, but I’m only seeing the following errors in the
   widget:
 * >  Maintenance fatal error: Not Found
   >  Server error occurred: Not Found
 * I believe the issue has to do with this line of code in src/endpoints/index.php:
 * `require_once('../../../../../wp-load.php');`
 * Our WP set up is slightly non-standard, so the wp-load.php file isn’t in that
   location, relative to the plugins.
 * Everything I’ve been able to find online about locating this file seems to indicate
   that you shouldn’t need to include it, and that there is a better way of doing
   things. e.g.:
 * [http://ottopress.com/2010/dont-include-wp-load-please/](http://ottopress.com/2010/dont-include-wp-load-please/)
 * Any chance of you refactoring the plugin so that those of us with non-standard
   setups can still use it?
 * Thanks!
 * [https://wordpress.org/plugins/wise-chat/](https://wordpress.org/plugins/wise-chat/)

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

 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cant-find-wp-loadphp/#post-7159634)
 * Hi,
 * thank you for reporting this. File src/endpoints/index.php is requested directly
   by the chat due to performance advantages, so there is now way to tell where 
   exactly wp-load.php is. In standard installation it works, however, if you move
   plugins directory somewhere else it will not work.
 * I am aware of this problem and in future version I will try to find a solution
   for this. There will be always a need to reference something from WordPress, 
   so I cannot eliminate such require_once statements.
 * Thanks
    Marcin
 *  [jsimarro103](https://wordpress.org/support/users/jsimarro103/)
 * (@jsimarro103)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/cant-find-wp-loadphp/#post-7159775)
 * I got the same error.
    Solved creating the wp-content/plugin folder instead my
   custom folder and adding there the plugin. I ve it twice but works perfect! thanks

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

The topic ‘Can't find wp-load.php’ is closed to new replies.

 * ![](https://ps.w.org/wise-chat/assets/icon-128x128.png?rev=1306481)
 * [Wise Chat](https://wordpress.org/plugins/wise-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wise-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wise-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/wise-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wise-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wise-chat/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [jsimarro103](https://wordpress.org/support/users/jsimarro103/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/cant-find-wp-loadphp/#post-7159775)
 * Status: resolved