Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
как могут быть дули, если на страницах разный контент? Можете кастомить компонент пагинация, в нем определяется номер страницы и в резуль модифер указывать нужный каноникал отложенной функцией
In fact, everything is quite simple. I wrote about canonical generation on my blog: dmnv.ru/blog/seo/chto-takoe-canonical-i-ego-generatsiya
You can use the function body from the example. only you will have an excluded get-parameter not "p" but "Pagen_1", or it will not be at all - depending on how you set the task.
Roughly speaking: we take the url of the page, reduce it to lowercase, throw out all the get-parameters except the ones we need, generate a tag, insert it into the head. everything is quite easy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question