Plugin is removing custom folder structure (uploads / plugins / wp-content)
-
Hi,
your backup plugin is great but I cannot find how to export and import website with custom folder structure:
define( 'UPLOADS', 'media' );
define( 'WP_PLUGIN_DIR', dirname(__FILE__) . '/my-plugins' );
define( 'WP_PLUGIN_URL', 'https://' . $_SERVER['SERVER_NAME'] . '/my-plugins' );
define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/website' );
define( 'WP_CONTENT_URL', 'https://' . $_SERVER['SERVER_NAME'] . '/website' );After import:
- Folder “media” is changed to “wp-content/uploads”.
- Folder “my-plugins” is changed to “wp-content/plugins”.
- Folder “website” is changed to “wp-content”.
Also these and all other customizations in wp-config.php are removed from wp-config.php.
So website is not running properly after import.
Custom folder structure is popular and recommended for better security and better language localization.
It is WordPress core functionality and other backup plugins I used are fully compatible with it.
Please how to fix it?
Regards,
Jiri Polacek
The topic ‘Plugin is removing custom folder structure (uploads / plugins / wp-content)’ is closed to new replies.