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.

This topic contains 3 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 8 months ago.

Assisted by: Christopher Amirian.

Author Posts
August 22, 2023 at 10:49 pm #14273955

christianT-31

I have a WPML setup that uses 3 domains for 3 different countries.

Here's an example of one page that exists under the 3 domains:
hidden link
hidden link
hidden link

I'm using the Yoast SEO plugin.

Href lang tags are set up as needed - no problems there.

Problem: On all 3 versions of every page on the site, the canonical always points to the .com site. Screenshot example attached.

I've installed the WPML SEO plugin as well as the Strings Translation plugin.

I've installed the Yoast Test Helper, ran the Reset Indexables Tables and Migrations and then ran SEO data optimization in Yoast Tools.

Still the same issue.

canonical tag issue.png
August 23, 2023 at 2:07 pm #14278891

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

From what I remember the homepage is the only page that canonical will show the current domain.

But I will need to double-check. I asked our second-tier support and I will inform you as soon as I have an update.

August 23, 2023 at 2:10 pm #14278901

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Would you please provide us with the login of the website by setting the next reply as private?

I want to check what is set as the Canonical URL in the Yoast SEO plugin options for Contact page.

Thanks.

August 30, 2023 at 3:21 pm #14314807

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Thanks, I checked and the issue is that you set the other pages for eh EN US contact page as a duplicate post.

That is why WPML tries to use the original content.

Please go to the edit screen of the contact page. From the top admin bar change the language to EN UK.

Click the Translate Independently and then it should work.

Also please consider that puc an manually add the canonical URL to EN UK by expanding the advanced settings in YOAST options on the page and see the Canonical URL

Thanks.

Screenshot 2023-08-30 at 19.20.05.png
Screenshot 2023-08-30 at 19.17.52.png