Title: wp-config.php missing custom constant
Last modified: July 13, 2021

---

# wp-config.php missing custom constant

 *  Resolved [gilbert1995](https://wordpress.org/support/users/gilbert1995/)
 * (@gilbert1995)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wp-config-php-missing-custom-constant/)
 * Hi,
    The backup dose not keep the custom constent in my wp-config.php
 * Thanks

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

 *  Plugin Author [Yani](https://wordpress.org/support/users/yaniiliev/)
 * (@yaniiliev)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wp-config-php-missing-custom-constant/#post-14656755)
 * Yes, the backup does not include wp-config.php
 *  Thread Starter [gilbert1995](https://wordpress.org/support/users/gilbert1995/)
 * (@gilbert1995)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wp-config-php-missing-custom-constant/#post-14660241)
 * Could you add-it?
 *  Plugin Author [Yani](https://wordpress.org/support/users/yaniiliev/)
 * (@yaniiliev)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wp-config-php-missing-custom-constant/#post-14660263)
 * The concept that the plugin uses it that when you migrate from one WordPress 
   to another WordPress site, the two sites will already be configured for the server
   that they are running.
    Constants stored in wp-config.php usually apply for the
   specific server that the website is running and when the website is migrated 
   onto a new server, these constants will cause issues. For now, the solution is
   to manually add the custom constants in wp-config.php onto the new website before
   importing.

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

The topic ‘wp-config.php missing custom constant’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-migration/assets/icon-256x256.png?rev=2458334)
 * [All-in-One WP Migration and Backup](https://wordpress.org/plugins/all-in-one-wp-migration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-migration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-migration/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-migration/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Yani](https://wordpress.org/support/users/yaniiliev/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/wp-config-php-missing-custom-constant/#post-14660263)
 * Status: resolved