Moving wp-content folder in WP 4.4.2
-
I am trying to install a local instance of WP 4.4.2 with the wp-content folder moved into a separate directory. I have tried using the following code:
/* Move /wp-content */ define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/testsplit/data/wp-content/' ); define( 'WP_CONTENT_URL', 'http://localhost/testsplit/data/wp-content/' ); define( 'WP_PLUGIN_DIR', dirname( __FILE__ ) . '/testsplit/data/wp-content/plugins/' ); define( 'WP_PLUGIN_URL', 'http://localhost/testsplit/data/wp-content/plugins/' ); define( 'PLUGINDIR', dirname( __FILE__ ) . '/testsplit/data/wp-content/plugins/' );I used this code on previous WP releases with no problem up through 4.2.5, but now that I’m trying to upgrade our internal site to 4.4.2, I can’t get it to work.
Any ideas/suggestions? Has something changed in WP 4.4.2 that would block this from working? Maybe another file edit that I missed?
The topic ‘Moving wp-content folder in WP 4.4.2’ is closed to new replies.