Title: Path is outside resolved document root
Last modified: May 13, 2020

---

# Path is outside resolved document root

 *  [mgarciaebo](https://wordpress.org/support/users/mgarciaebo/)
 * (@mgarciaebo)
 * [6 years ago](https://wordpress.org/support/topic/path-is-outside-resolved-document-root/)
 * Hello, first of all, thank you for a powerful plugin!
 * I’m using it on a setup kind of similar to what was mentioned here: [https://wordpress.org/support/topic/sanity-check-failed-for-source-path-is-outside-allowed-path/page/3/#post-11925962](https://wordpress.org/support/topic/sanity-check-failed-for-source-path-is-outside-allowed-path/page/3/#post-11925962),
   but deploying with Deployer instead of Capistrano. The thing is that I’m getting
   exactly the same error (Path is outside resolved document root).
 * Is there any parameter that I need to set in order to avoid/override this check?
   Do you consider this as an issue at all? Do I have any risk of misbehaviour if
   I patch this by myself to by-pass the check?
 * A little bit more information about my setup: the `wp-content/uploads` and `wp-
   content/webp-express` directories are created in `[site_root]/shared`, and the
   DocumentRoot of the site is located at `[site_root]/current`, so `[site_root]/
   current/wp-content/uploads` and `[site_root]/current/wp-content/webp-express`
   are set as symbolic links to the real directories, and the directory `[site_root]/
   current` itself is a symbolic link to `[site_root]/releases/[timestamp]`.
 * So, this would be the structure managed by Deployer by default:
 * + root
    — – current (link to root/releases/20200513) — + releases —- + 20200513——
   + wp-content ——– – uploads (link to root/shared/wp-content/uploads) ——– – webp-
   express (link to root/shared/wp-content/webp-express) — + shared —- + wp-content——–
   uploads —— – webp-express
 * Thank you in advance.
 * Cheers!
    -  This topic was modified 6 years ago by [mgarciaebo](https://wordpress.org/support/users/mgarciaebo/).
    -  This topic was modified 6 years ago by [mgarciaebo](https://wordpress.org/support/users/mgarciaebo/).
    -  This topic was modified 6 years ago by [mgarciaebo](https://wordpress.org/support/users/mgarciaebo/).

The topic ‘Path is outside resolved 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [mgarciaebo](https://wordpress.org/support/users/mgarciaebo/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/path-is-outside-resolved-document-root/)
 * Status: not resolved