R
R
rusiak12020-03-20 16:26:47
MODX
rusiak1, 2020-03-20 16:26:47

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" />

and vice versa
<link rel="canonical" href="https://site.ru/en" >
<link rel="alternate" href="https://site.ru/" />

Tell me a solution or where to look?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question