You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bndiagnostic was not useful. Could you please tell us why?
The suggested guides are not related with my issue
Describe your issue as much as you can
(migrated from community.bitnami.com)
The recent changes regarding moving to native system packages seems to have move some of the folders around a bit for WordPress. Indeed there are now 2 WordPress folders:
/opt/bitnami/wordpress
/bitnami/wordpress/
There is a shortcut/symlink between /opt/bitnami/wordpress/wp-content and /bitnami/wordpress/wp-content. This works great normally, but a fair few plugins are getting messed up poaths when looking for files. For example when looking for their own plugin assets they are getting the following URLs:
The obvious fix is to just remove one of the folders, e.g. remove the symlink and move the entire “/bitnami/wordpress/wp-content” directory into the “/opt/bitnami/wordpress/wp-content” location. However I thionk that bitnami has separated these for a reason? what would be the implications of doing this?
Removing the symlink and moving the wp-content folder does NOT work out of the box. Further work was required, and I wasn’t prepared to go down that rabbit-hole.
Instead the problem was already solved elsewhere, the fix was to manually set these properties in the wp-config.php
Activity
agomezmoron commentedon May 30, 2022
Removing the symlink and moving the wp-content folder does NOT work out of the box. Further work was required, and I wasn’t prepared to go down that rabbit-hole.
Instead the problem was already solved elsewhere, the fix was to manually set these properties in the wp-config.php
define('WP_CONTENT_DIR', '/bitnami/wordpress/wp-content');define('WP_CONTENT_URL', 'https://example.com/wp-content');