Skip Navigation

Your registration site key is unique to the site’s domain. If you are frequently moving the database between production, development, and staging, you can avoid re-entering the site key by setting the site key in the wp-config.php file.

To set a different site key per environment:

  1. Generate a different site key for each of the different domains of the site. Go to your Account page to generate the site keys.
  2. Add the different site keys to each of the environments in their respective wp-config.php files, using the following statement:
    define( 'OTGS_INSTALLER_SITE_KEY_WPML', 'your-site-key' );

The value that you set using the OTGS_INSTALLER_SITE_KEY_WPML takes precedence over the value in the database. So, when you move the database between domains, you will not need to update the registration.


أتحتاج للمساعدة؟

Install and update