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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 4 months ago.

Assisted by: Osama Mersal.

Author Posts
December 5, 2023 at 7:07 am

Zoltan

2 translations redirect its slug

December 5, 2023 at 8:05 am
December 5, 2023 at 10:05 am #14995093

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Please check if you have any redirection rules on your server or htaccess file. Also, please let me know if you use any CDN or redirection plugins.

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me much information about how your site is configured.

Best regards,
Osama

December 5, 2023 at 10:21 am #14995359

Zoltan

Hi,

There are no redirects on the server or in the htaccess file either. We do not use a CDN. We use an SEO plugin that has redirects, but not for these custom post types. I am attaching the debug information.

Thank you!

December 5, 2023 at 11:04 am #14995863

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. There is a redirect, but I'm not sure where it is. (Kindly check the attached screenshot)

When changing the post slug, it works correctly. For example, change the slug from "adult-friendly-valentines-weekend" to "adult-friendly-valentines-weekends" on the English post and check the issue.

Best regards,
Osama

2023-12-05_13-01-50.jpg
December 5, 2023 at 12:21 pm #14996983

Zoltan

Hi,

If I rewrite the custom post slug, the error is solved. Thank you for your help.

December 5, 2023 at 12:46 pm #14997325

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. Please contact your host support and consult them regarding this redirection rule.

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

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

Status:	301 Moved Permanently
Code:	301
Server:	nginx
Date:	Tue, 05 Dec 2023 12:36:56 GMT
Content-Type:	text/html; charset=UTF-8
Connection:	close
SG-F-Cache:	BYPASS
Expires:	Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control:	no-cache, must-revalidate, max-age=0
X-Cache-Enabled:	True
X-XSS-Protection:	1
X-Content-Type-Options:	nosniff
Strict-Transport-Security:	max-age=2592000
Referrer-Policy:	origin-when-cross-origin
Permissions-Policy:	accelerometer=(self), autoplay=(self), camera=(self), encrypted-media=(self), fullscreen=(self), geolocation=(self), gyroscope=(self), magnetometer=(self), microphone=(self), midi=(self), payment=(self), usb=(self)
X-Redirect-By:	WordPress
Location:	<em><u>hidden link</u></em>
X-Httpd:	1
Host-Header:	6b7412fb82ca5edfd0917e3957f05d89
X-Proxy-Cache:	MISS
X-Proxy-Cache-Info:	d301 NC:000000 UP:




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

Kindly let me know their findings and if they were able to disable this redirect.

Alternatively, you can change the post's slug to fix the issue.

Best regards,
Osama