I
I
Ilyaploskov2019-03-26 17:01:44
Joomla
Ilyaploskov, 2019-03-26 17:01:44

Jooma 3.9 - how to set rel="canonical" only on http site version?

When moving from http to https, Yandex asks for the following:

Canonical address
In the source code of each page of the old site, add a link to a similar page of the new one with the rel="canonical" attribute.
For example, you change example.com to https://example.com. On the example.com/main page , you need to specify:
< link rel="canonical" href=" https://example.com/main "/>

How can this be done in Joomla? Help me write a condition in head.php

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Gruznykh, 2019-03-29
@pavelcarcass

Install the extension .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question