Skip Navigation

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

Problem:
The client is experiencing an issue where a translated page is not displaying correctly. Instead of showing the translated version when selected from the menu or by changing the language, it redirects back to the English version. This issue is specific to the contact page, as other pages are working fine. The client has tried deleting and recreating the page, translating it independently, clearing the cache, and reassigning it to the menu, but the problem persists.

Solution:
We have identified that there is a redirect loop causing the translated page to not display properly. The server is sending a '301 Moved Permanently' status, which indicates that the page has been permanently moved to a new location, and this is causing the browser to redirect back to the English version of the contact page. We recommend checking if the page is saved as a draft or if there are any manually added 301 redirects that might be active.

If this solution does not resolve your issue or if it seems irrelevant due to being outdated or not applicable to your case, we suggest opening a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us through the WPML support forum.

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 1 reply, has 2 voices.

Last updated by Marcel 1 year, 4 months ago.

Assisted by: Marcel.

Author Posts
March 12, 2024 at 5:22 pm #15400919

victor tio

Tell us what you are trying to do? i created a translated version of the page and i can see it in the back end, but if i select from the menu or select the language it only shows the english page, it is only doing it on that page, all the other pages are working fine, i tried even deleting the page and creating a new one and translating independently, clearing the cache, assigning again to the menu, but it keeps showing me only the english version of the contact page

Is there any documentation that you are following? nothing in particular

Is there a similar example that we can see?

What is the link to your site?
hidden link
hidden link

March 12, 2024 at 5:31 pm #15400952

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

there is a redirect loop active:

>>> <em><u>hidden link</u></em>

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status:	301 Moved Permanently
Code:	301
Content-Type:	text/html; charset=UTF-8
Connection:	close
Date:	Tue, 12 Mar 2024 17:28:51 GMT
Server:	Apache
Pragma:	no-cache
Expires:	Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control:	no-cache, must-revalidate, max-age=0
X-Redirect-By:	WordPress
Set-Cookie:	PHPSESSID=5ef167061950a73a8117d36478191090; path=/; secure; SameSite=None
Location:	<em><u>hidden link</u></em>


>>> <em><u>hidden link</u></em>

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status:	301 Moved Permanently
Code:	301
Content-Type:	text/html; charset=UTF-8
Connection:	close
Date:	Tue, 12 Mar 2024 17:28:53 GMT
Server:	Apache
Pragma:	no-cache
Expires:	Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control:	no-cache, must-revalidate, max-age=0
X-Redirect-By:	WordPress
Set-Cookie:	PHPSESSID=52a1c6896d76d1ed2b1fe0d9e34a455c; path=/; secure; SameSite=None
Location:	<em><u>hidden link</u></em>

>>> <em><u>hidden link</u></em>

> --------------------------------------------
> 200 OK
> --------------------------------------------

Status:	200 OK
Code:	200
Content-Type:	text/html; charset=UTF-8
Content-Length:	160257
Connection:	close
Date:	Tue, 12 Mar 2024 17:28:55 GMT
Server:	Apache
Vary:	User-Agent,Accept-Encoding
Accept-Ranges:	bytes
Cache-Control:	max-age=0, public
Expires:	Tue, 12 Mar 2024 17:28:55 GMT
X-Powered-By:	WP Rocket/3.15.2

Please check if the page is saved as a draft or if you have any manually added 301 redirects active.

Best Regards
Marcel