Answer the question
In order to leave comments, you need to log in
How to set alternate and canonical tags for modx?
There is a multilingual site on modx.
And there is one head chunk for versions of the site in which the rel="alternate" and rel="canonical" tags are specified.
Let's say in Russian version
<link rel="canonical" href="https://site.ru/" >
<link rel="alternate" href="https://site.ru/en" />
<link rel="canonical" href="https://site.ru/en" >
<link rel="alternate" href="https://site.ru/" />
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question