I want to move wp-content folder out of wordpress installation folder. I have set
define('WP_CONTENT_DIR', '/opt/deployer/wordpress/wp-content' ); in wp-config.php file. But themes stopped working on site.
Please help me.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
The answer depends on why are you moving the folder.
If you just need to folder to be moved but leave the URLs the same then you will need to adjust yout apache/nginx config files to point to the right directory when serving a request for a url of the type /wp-content/...
If you need to adjust the url as well then you need to also define appropriate