Background of the issue:
I am trying to set the other domain for English to arteindhoven.com, but it changes every night automatically to europeartfair.eu. The issue can be seen at the following link: hidden link
Symptoms:
The other domain changes every day automatically from arteindhoven.com to europeartfair.eu.
Questions:
Why does the domain change automatically every night?
How can I prevent the domain from changing automatically?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+01:00)
Here’s a structured approach to help you identify the root cause:
- Review WordPress Scheduled Tasks (Cron Jobs)
1. Install the WP Crontrol plugin.
2. Navigate to Tools → Cron Events.
3. Look for scheduled tasks related to WPML, domain switching, or plugins that modify site settings.
4. Disable suspicious cron jobs and monitor if the issue persists.
- Check for Theme or Plugin Conflicts
1. Switch to a default WordPress theme (e.g., Twenty Twenty-Three).
2. Deactivate all plugins except WPML.
3. If the issue disappears, reactivate plugins one by one to identify the conflict.
- Audit User and Admin Activity
1. Install WP Activity Log to track changes.
2. Check if admin users, plugins, or external services modify WPML settings overnight.
- Check Database for Forced Changes
1. Use phpMyAdmin or WP CLI to inspect the database.
2. Run the following SQL query:
SELECT * FROM wp_options WHERE option_name LIKE '%wpml%';
3. Look for values referencing europeartfair.eu and identify any anomalies.
- Look for External Scripts or API Calls
1. Check if third-party services (automated deployments, synchronization scripts) override settings.
2. If hosted on managed WordPress hosting, ask the provider if they enforce automatic changes.
- Enable Debug Logging
1. Enable WordPress Debug Mode by adding this to