We will be supporting staging license this coming May 2024.
If you have previously used a production license on your staging site, you will need to first deactivate and reactivate your license on your staging site.
Staging Site License Allocation
You are allocated 5x the number of purchased site license purchased.
You can remove the staging domain from your Account > Licenses page at any time.
Cloning Sites to Staging?
If you are frequently cloning sites from production to staging, you may want to set a PHP constant in the wp-config.php file so it uses a fixed license key (we don’t store the real key in your database but instead use a unique generated token for each site).
Without the PHP constant, the license check may fail because the production domain and staging domain name is different. Read more here.
define( 'AFL_WC_UTM_LICENSE_KEY', 'xxxxxxxxxxx' );
Bypass Feature Restriction
To bypass feature restriction on staging sites that you do not want to activate the license, you need to add the following into the config.php file:
define( 'WP_ENVIRONMENT_TYPE', 'staging' );
NOTE: The above constant is an official WordPress config. Learn more about WP_ENVIRONMENT_TYPE.
Supported Staging Domains
Let us know if your staging domains is not in the list below.
- *.local
- *.localhost
- *.test
- *.staging
- beta.yoursite.com
- dev.yoursite.com
- staging.yoursite.com
Hosting Specific
- pantheon-dev.yoursite.com
- *staging.kinsta.cloud
- *dev.flywheelsites.com
- *staging.onrocket.site
- *dev.wpengine.com
- *stg.wpengine.com
- *stag.wpengine.com
- *stage.wpengine.com
- *staging.wpengine.com
- *dev.wpenginepowered.com
- *stg.wpenginepowered.com
- *stag.wpenginepowered.com
- *stage.wpenginepowered.com
- *staging.wpenginepowered.com