• Resolved herrstrietzel

    (@15broetchenmann)


    Hi Corey,
    I’ve encountered a problem duplicating my local wordpress instances (I’m using xampp).
    My installation uses a subdirectory for wordpress core files and a custom directory for wp-content. My wp-config.php looks like this:

    
    define('WP_SITEURL', 'http://localhost/mylocalsite/src/'); // my wordpress installation
    define('WP_HOME', 'http://localhost/mylocalsite/');
    
    define ('WP_CONTENT_FOLDERNAME', 'data');  // custom wp-content folder
    define( 'UPLOADS', ''.'files' );  // custom wp-content/uploads folder
    
    define ('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME) ;
    define('WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME); 

    I#ve never had any problems but in recent versions of duplicator the foldername definitions get somehow stripped after duplication:

    
    define ('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME) ;
    define('WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME); 
    

    becomes

    
    define ('WP_CONTENT_DIR', 'ABSPATH');
    define('WP_CONTENT_URL', 'WP_SITEURL'); 
    

    Actually no big deal to manually adjust the wp-config.php but in previous versions those lines have been preserved during the building process.
    Any Ideas? I have to admit, that my custom folder definitions might be quite clunky or deprecated.

    Thanks for this indispensable plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Cory Lamle

    (@corylamleorg)

    Hey @15broetchenmann,

    I think, I may know what the issues is. I’ll make a note to look at this…

    Thanks for letting us know.

    Cory Lamle

    (@corylamleorg)

    Hey @15broetchenmann,,

    If you can give the developer version a it should have the updates for your issue. The very latest version (1.2.9) can be found by following these instructions:

    > Download Latest Version
    > Uninstall your current version and install this one.

    Let me know if this solves your issue~

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp_content_foldername gets stripped in wp-config.php’ is closed to new replies.