As expected it worked as expected with the above code in Developer Edition. Didn't noticed that before, so thanks for your help and sorry for the noise..
sitedock
Posts
-
Change wp-content foldername not possible?! -
Change wp-content foldername not possible?!@girish Oh yes you're right. I'll switch to Developer-Edition and tell you if it works with that... I like the idea of having a save Managed Version where everything is secured while having the option to use a Developer-Editon which is more open for customizations...
-
Change wp-content foldername not possible?!@girish Thanks for the idea but the ABSPATH is
/app/code/
in cloudrons architecture. that seams to be ok. checked this also.i think it has something to do with the folder mounts. in the appdata folder the rest of wordpress core folders are also missing. only the ones that are available to edit (wp-config.php, php.ini, wp-content).
I assume it is not possible to change to dockerfile for the app?!
-
Change wp-content foldername not possible?!Hi there!
I'm trying to rename the wp-content folder name to app.
I do this on every wp-site for some years now.
wp is able to handle that so i renamed the folder and set up the respective constants in wp-config.phpdefine( 'WP_CONTENT_FOLDERNAME', 'app'); define( 'WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME); define( 'WP_CONTENT_URL', WP_SITEURL .'/'. WP_CONTENT_FOLDERNAME);
But that seam not to work cause the server-setup seams to mount the exact "wp-content" folder to the docker container... can i change this somewhere?
Thanks for any hint about this!