Issue
-
We added the following meta tags via the page settings, but that generated html code is encoded and it is not working:
<meta content="<html lang="fi"/>
<meta name="sdg-tag" content="sdg"/>
<meta name="DC.ISO3166" content="FI"/>
<meta name="DC.Service" content="information"/>
<meta name="policy-code" content="B5;B6;K1"/>" lang="fi-FI" name="description" />.
Environment
- DXP 7.1
Resolution
-
On 7.1.x, it is only possible to add text strings that will be added in a similar fashion to the portal.
Both the description and the robots meta tags have distinct functionality based on the following articles: - Example for robots meta tag
- Example for description meta tag
Additional Information
- If you would like to customize this using an OOTB feature, that feature was introduced in LPS-100973, which was released for 7.3. So the best option would be upgrading to that patch level.
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar