Resolved
Reported for: WPML Multilingual CMS 4.6.4
Resolved in: WPML 4.6.7
Overview of the issue
If you set your WP_HOME and WP_SITEURL dynamically in your wp-config.php:
define('WP_HOME','http://'.$_SERVER['HTTP_HOST']); define('WP_SITEURL','http://'.$_SERVER['HTTP_HOST']);
a warning keeps popping up on your site indicating that the site has been moved to a new location without actually being moved.
Workaround
If you encounter this situation, we recommend you to either:
- Remove those dynamic declarations from the wp-config.php file
or - Hard-code them in the main domain.
As I mentioned in my original message, there is not WP_HOME in the wp-config.php. Also the WP_SITEURL is not dynamic (as below)
define( ‘WP_SITEURL’, ‘https://www.uprdev.com/’ );
I’m not sure to understand to which original message you are refering. However, if this workaround doesn’t help, please open a chat in our support channel.