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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Tirane (GMT+02:00)

This topic contains 5 replies, has 2 voices.

Last updated by Marsel Nikolli 11 months, 3 weeks ago.

Assisted by: Marsel Nikolli.

Author Posts
December 4, 2023 at 1:22 pm #14987143

janS-38

On our german website hidden link when I click on the article "sind alle religionen gleich?" (fill this in, in the search bar, if you want to test this yourself) the blogpost redirects to hidden link (the English website). How come?

I checked the yoast plugin + Siteground. No redirections there. How to fix this?

December 4, 2023 at 1:48 pm #14987457

Marsel Nikolli

Hi,



Thank you for contacting WPML Support, I will be happy to help you today.


I checked your website following your instructions to test and on my end everything seems to work fine. (please check attached image).

Is there any other specific page that it happens or any steps I can follow to see the issue?

* If it is happening on your end, try clearing the cache of the website and check if it still persists after.

Looking forward to your reply,
Marsel

redirect-bible.PNG
December 5, 2023 at 10:21 am #14995357

janS-38

What happens on your end when you click on the article "Sind alle Religionen gleich?"
Do you go to the article or to hidden link (which is the English website)?

December 5, 2023 at 11:56 am #14996649

Marsel Nikolli

Hi,

I just checked and today it seems to redirect to an category page (hidden link) as you said, yesterday it was showing a post, not sure what happened.

I was able to check URL (hidden link) on the (hidden link), and I see there is a 301 redirection happening.


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

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

Status:	301 Moved Permanently
Code:	301
Server:	nginx
Date:	Tue, 05 Dec 2023 11:29:31 GMT
Content-Type:	text/plain
Content-Length:	24
Connection:	close
Location:	<em><u>hidden link</u></em>
X-CDN-C:	all
X-SG-CDN:	1
X-Proxy-Cache:	MISS
X-Proxy-Cache-Info:	0301 NC:000000 UP:
Host-Header:	8441280b0c35cbc1147f8ba998a563a7




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

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

Status:	200 OK
Code:	200
Server:	nginx
Date:	Tue, 05 Dec 2023 11:29:32 GMT
Content-Type:	text/html; charset=UTF-8
Connection:	close
Vary:	Accept-Encoding
X-Cache-Enabled:	True
Link:	<<em><u>hidden link</u></em>;; rel="alternate"; type="application/json"
X-Httpd-Modphp:	1
X-CDN-C:	all
X-SG-CDN:	1
X-Proxy-Cache:	MISS
X-Proxy-Cache-Info:	0 NC:000000 UP:
Host-Header:	8441280b0c35cbc1147f8ba998a563a7

1) I would suggest you try clearing the website cache on a server level (try twice with a 15min delay from each time), as SiteGround is known for having a good cache system.

2) If clearing the cache on a server level won't work, would it be possible to check if the issue happens in a minimal setup, that meaning:

- keep the theme you have
- keep active only WPML Plugins
- disable all other plugins

After, check if the issue is still happening. This will help to understand if the issue is being caused by any other plugin.

Note: Please make sure you have a full backup (files & database) before trying anything on your website.

Let me know how it goes,
Marsel

December 12, 2023 at 2:57 pm #15047059

janS-38

I did this. The problem is still happening.

December 12, 2023 at 3:59 pm #15047615

Marsel Nikolli

Hi,

Thank you for the update.

1) Could you tell me if there is any Nginx cache mechanism set on the server?

2) Can you please check on the YOAST SEO plugin settings if there is any redirection set for that specific post?

Thanks,
Marsel

The topic ‘[Closed] Link goes to wrong article’ is closed to new replies.