Title: Configuring staging or developement environment
Last modified: October 24, 2024

---

# Configuring staging or developement environment

 *  Resolved [JLBA](https://wordpress.org/support/users/jltest/)
 * (@jltest)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/configuring-staging-or-developement-environment/)
 * Hi everyone,
 * I read that it is possible to configure if a website is in production, staging
   or developpement mode. But I don’t find where to change this information.
 * Thanks for your help.

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

 *  [graphicscove](https://wordpress.org/support/users/graphicscove/)
 * (@graphicscove)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/configuring-staging-or-developement-environment/#post-18093086)
 *     ```wp-block-code
       define('WP_ENV', 'development'); // Change to 'staging' or 'production' as needed
       ```
   
 * Add this to your config.php file (You should have a different one for each environment).
 *  Thread Starter [JLBA](https://wordpress.org/support/users/jltest/)
 * (@jltest)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/configuring-staging-or-developement-environment/#post-18093143)
 * it’s clear. Thanks [@graphicscove](https://wordpress.org/support/users/graphicscove/)!

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

The topic ‘Configuring staging or developement environment’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [JLBA](https://wordpress.org/support/users/jltest/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/configuring-staging-or-developement-environment/#post-18093143)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
