Move the 'plugins' and 'uploads' folders

PHOTO EMBED

Tue Jul 05 2022 17:36:26 GMT+0000 (UTC)

Saved by @satinbest #php

// Changer le dossier 'plugins' de place
define('WP_PLUGIN_DIR',$_SERVER['DOCUMENT_ROOT'].'/blog/wp-content/plugins');
define('WP_PLUGIN_URL','http://local.wordpress-test/blog/wp-content/plugins');
// Changer le dossier 'uploads' de place
define('UPLOADS','/blog/wp-content/uploads');
content_copyCOPY

It is also possible to move some folders contained in wp-content, including plugins and uploads. (code in wp-config)