Skip to content Skip to sidebar

This topic contains 0 reply, has 1 voice.

Last updated by denyD 3 months, 2 weeks ago.

Assisted by: Shekhar Bhandari.

Author Posts
April 28, 2025 at 8:04 am #16973475

denyD

Background of the issue:
I am trying to optimize the language redirection on my site hidden link using WPML. Initially, I used a client-side redirect, but it caused a one-second flash showing the wrong language before redirecting. To improve user experience, I switched to a server-side redirect based on the browser’s Accept-Language header, but I am concerned about potential SEO issues.

Symptoms:
There is a one-second flash showing the default language before the client-side redirect occurs.

Questions:
Is there any official method or best practice to optimize the client-side redirect and eliminate that initial flash?
Have you dealt with similar cases from other customers, and if so, how did they resolve it?
Would you recommend staying with the server-side redirect, or is there a better way to handle this situation with WPML?

The topic ‘[Closed] Redirect client side’ is closed to new replies.