Hi I am trying to do a custom install for wordpress and I need to change wp-content and plugin-directories.
I tried to add this to the wp-config.php after I installed wordpress
define( ‘WP_CONTENT_DIR’, dirname( FILE ) . ‘wp-content’ );
define( ‘WP_CONTENT_URL’, ‘myurl/wp-content’ );
but I still see the defaults plugins I did the same for WP_PLUGIN_DIR and WP_PLUGIN_URL.
Can anyone help me. Thanks in advance.
Use this for Plugin folder
Use this for WP-content folder
Use this code…