Title: Database credentials outside wp-config
Last modified: May 20, 2020

---

# Database credentials outside wp-config

 *  Resolved [kopiczkos](https://wordpress.org/support/users/kopiczkos/)
 * (@kopiczkos)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/database-credentials-outside-wp-config/)
 * Hello,
    Let say that I am moving my database credentials: `define('DB_NAME', '
   database_name');` etc. to other file (wp-config-cred.php) and require it inside
   wp_config.php `require_once "wp-config-cred.php";`
 * Would Duplicator handle case like this? Is it even possible?

Viewing 1 replies (of 1 total)

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/database-credentials-outside-wp-config/#post-12865067)
 * Hey [@kopiczkos](https://wordpress.org/support/users/kopiczkos/),
 * Unfortunately, at the moment the plugin does not support that scenario.
 * Thxs~

Viewing 1 replies (of 1 total)

The topic ‘Database credentials outside wp-config’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/database-credentials-outside-wp-config/#post-12865067)
 * Status: resolved