Title: WPengine &#8211; Path is outside document root
Last modified: September 30, 2019

---

# WPengine – Path is outside document root

 *  Resolved [freq32](https://wordpress.org/support/users/freq32/)
 * (@freq32)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wpengine-path-is-outside-document-root/)
 * Are there any known issues with WPengine sites? I’ve also emailed you the test
   log and PHP log.
 * thanks
 * -Mark
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwpengine-path-is-outside-document-root%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [rosell.dk](https://wordpress.org/support/users/roselldk/)
 * (@roselldk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wpengine-path-is-outside-document-root/#post-11981400)
 * Hi Mark,
 * WP Engine has not been part of my test matrix. But I have just set up a test 
   site on wp engine and can see that there are problems. I’m working on fixing 
   right now. I shall make sure to test on WP Engine before releasing in the future.
 *  Plugin Author [rosell.dk](https://wordpress.org/support/users/roselldk/)
 * (@roselldk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wpengine-path-is-outside-document-root/#post-11981414)
 * It seems that if you change “destination structure” to “image roots” you will
   get rid of the “Path is outside document root” errors
 *  Plugin Author [rosell.dk](https://wordpress.org/support/users/roselldk/)
 * (@roselldk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wpengine-path-is-outside-document-root/#post-11981716)
 * You can completely ignore these errors. The bug here is that the errors are written
   to error_log. WebP Express looks at a path to determine if it is below Document
   Root. If that fails, it currently writes this message to the log and then tries
   with symlinks resolved. In your case, this succeeds. This shall be fixed in the
   next version.
 * There is no need to switch to “image roots”. This will also require other redirection
   rules. Speaking of which. From the email you sent me, it seems that you have 
   not set up Nginx redirection rules. You will need to do that on WP Engine. I 
   will return to you with instructions.
 *  Thread Starter [freq32](https://wordpress.org/support/users/freq32/)
 * (@freq32)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wpengine-path-is-outside-document-root/#post-11983552)
 * Great. Big help! I have faith in this plugin.. )
 *  Thread Starter [freq32](https://wordpress.org/support/users/freq32/)
 * (@freq32)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wpengine-path-is-outside-document-root/#post-11984028)
 * Adding to this thread, in case anyone needs help with settings
 * (WPengine + Webp Express): [https://wpengine.com/support/webp-image-optimization/](https://wpengine.com/support/webp-image-optimization/)
    -  This reply was modified 6 years, 6 months ago by [freq32](https://wordpress.org/support/users/freq32/).
    -  This reply was modified 6 years, 6 months ago by [freq32](https://wordpress.org/support/users/freq32/).
    -  This reply was modified 6 years, 6 months ago by [freq32](https://wordpress.org/support/users/freq32/).
 *  Plugin Author [rosell.dk](https://wordpress.org/support/users/roselldk/)
 * (@roselldk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wpengine-path-is-outside-document-root/#post-11992564)
 * Just released 0.17.1 which fixes the problems on WP Engine + Webp Express. I 
   have also added a new “[I am on WP Engine](https://wordpress.org/plugins/webp-express/#i%20am%20on%20wp%20engine)”
   section in the FAQ. This would be your starting point.

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

The topic ‘WPengine – Path is outside document root’ is closed to new replies.

 * ![](https://ps.w.org/webp-express/assets/icon.svg?rev=1918288)
 * [WebP Express](https://wordpress.org/plugins/webp-express/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webp-express/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webp-express/)
 * [Active Topics](https://wordpress.org/support/plugin/webp-express/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webp-express/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webp-express/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [rosell.dk](https://wordpress.org/support/users/roselldk/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/wpengine-path-is-outside-document-root/#post-11992564)
 * Status: resolved