-
Hello, I am aware of the general problem of compatibility between RankMath and Polylang.
I have followed all the steps on this website and also used the (new) code:
https://rankmath.com/kb/polylang-compatibility/So far so good. But I have a problem with the blog page (archive). I found this article about it:
https://wordpress.org/support/topic/error-with-canonical-link-and-ogurl-on-main-blog-page/In my case as well, the rel=”canonical” and property=”og:url” are displayed twice, both on the English and on the German page.
The EN blog page has the URL: domain.de/xxx-xxx-xxx/
The DE blog page has the URL: domain.de/de/yyy-yyy-yyy/(Even though the domain extension is .de, English is the main language)
An archive template was created with Elementor that displays all blog posts and applies to both languages.
I have already entered the respective URLs in the RankMath Canonical settings. Unfortunately, there are no changes even after several cache deletions.
What solution is there for this? Unfortunately, no solution is mentioned in the above blog post.
Thank you very much!
Ronny
The ticket ‘Polylang vs RankMath: Canonical link + og:url are displayed twice in Blog Archiv’ is closed to new replies.