SEO features
in progress
Karen Soleven
For Pages in general:
<!-- OPEN GRAPH / SOCIAL MEDIA -->
<meta property="og:type" content="website" />
<!-- META TAGS -->
<meta name="keywords" content=“keyword1 keyword2”>
<!-- CANONICAL for SEO -->
<script type='text/javascript'>
// var link = document.querySelector("link[rel='canonical']") || document.createElement("link"); //more readable
var link = !!document.querySelector("link[rel='canonical']")
? document.querySelector("link[rel='canonical']")
: document.createElement('link');
link.setAttribute('rel', 'canonical');
link.setAttribute('href', location.protocol + '//' + location.host + location.pathname);
document.head.appendChild(link);
</script>
Karen Soleven
For translation:
Pls also allow Page Title & Meta description to be in translated languages.
And pls add Canonical code for languages pages by default:
<!-- TRANSLATION -->
<link rel="alternate" href="https://www.domain.com/en/" hreflang="en" />
<link rel="alternate" href="https://www.domain.com/fr/" hreflang="fr" />
<link rel="alternate" href="https://www.domain.com/es/" hreflang="es" />
<link rel="alternate" href="https://www.domain.com/en/" hreflang="x-default" />
Bogdan Condurache
in progress