-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WP_CONTENT_DIR outside ABSPATH #51
Comments
Hi @franciscof5 , It's because the WordPress source is on a different location than the wp-content folder. That makes it possible to update WordPress in this container without affecting the things that live in in wp-content. |
I think if you try an to use the image instead of building the project it will not work properly (I am running multiples wp, so it safe a lot of disk space), for me I have to set the volume as an absolute path:
|
The absolute path you use in the docker compose config doesn't have anything to do with the ABSPATH constant. |
Hello,
Trying to understand why set WP_CONTENT_DIR outside ABSPATH, because it is not working well, the file uploads keeps sending files to /usr/src/wordpress/w-content
not
/var/www/wp-content
The text was updated successfully, but these errors were encountered: