SEO and Link Alternate



I have 2 questions abouts Links Alternate. Can you help me?

  1. How can I generate Link Alternate in the for the Documents ?
  2. How can I generate Link Alternate for Data Objects ? For example, if my website is in English and French, and if I use Data Objects for my posts news, I also need to generate Link Alternate for these urls. Is it possible? Is a generic solution is possible (to copy past between website project without editing the code on every project) ?

The documentation about Link Alternate is a very poor :

Do you have any useful example about it?


this could help you:

It also uses the HeadLink helpers but abstracts it a bit. You can implement custom Extractors and append data to the SEOMetadata. The CoreShop Helper then appends that to HeadLink for you.