Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Zagreb (GMT+01:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by Bruno Kos 21 hours, 56 minutes ago.

Assisted by: Bruno Kos.

Author Posts
February 27, 2025 at 8:50 am #16754537

de-kunst-collegasE

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?

February 27, 2025 at 9:11 am #16754691

Bruno Kos
Supporter

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

wp-config.php

:

  
     define('WP_DEBUG', true);  
     define('WP_DEBUG_LOG', true);  
     define('WP_DEBUG_DISPLAY', false);   
     

2. After 24 hours, check

wp-content/debug.log

for errors or changes related to WPML.

Following these steps should help pinpoint the issue. Let me know if you need further assistance!