Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client's website, arnaudhomburger.fr, was redirecting to arnaudhomburger.com unexpectedly, affecting their Google Ads campaign. The issue temporarily resolved after clearing the WordPress cache but recurred shortly after.
Solution:
We recommended checking the

wp-config.php

file for dynamic URL configurations. Specifically, we advised replacing:

define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST']);

define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST']);

with static domain definitions:

define('WP_HOME', 'https://arnaudhomburger.com');

define('WP_SITEURL', 'https://arnaudhomburger.com');

After making these changes, we suggested clearing both WordPress and server cache and checking the site in a private browser window to ensure the redirection issue was resolved.

Please note that this solution might be outdated or not applicable to your specific case. If the issue persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket at WPML support forum for further assistance.

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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by arnaudh-8 1 month ago.

Assisted by: Ilyes.

Author Posts
June 10, 2026 at 6:50 pm #18094465

arnaudh-8

***Please assign this ticket to Ilyes***: My arnaudhomburger.fr is redirecting to arnaudhomburger.com. I tried to clear the WordPress cache. It resolves the issue for a few minutes, then, the issue is back. I am running a Google Ads in France, with all assets from my FR version website and I had to pause it because of that. Could you please take a look asap? Thank you for your support.

June 11, 2026 at 12:40 pm #18096695

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hey Arnaud,

Does it redirect from a certain page, button or when writing the URL is there a specific element to focus onÉ

Please share an access below,

June 12, 2026 at 2:37 am #18098108

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

This should be related to the Objet Cache you have enabled under Litespeed cache,

I have tweaked its settings slightly to ignore some WPML filters for testing purposes, and tracking its changes,

Let me know if the issue happens again,

June 12, 2026 at 7:46 pm #18100709

arnaudh-8

Hello Ilyes,

Thank you so much for your assistance, you resolved the issue!! It's much appreciated.

Have a great weekend!