Hi !
When the plugin is activated and the languagefilter plugin is activated the lines
<link href="https://www.xxx.com/en/" rel="alternate" hreflang="en-EN" />
<link href="https://www.xxx.com/de/" rel="alternate" hreflang="de-DE" />
<link href="https://www.xxx.com/pl/" rel="alternate" hreflang="pl-PL" />
will read
<link href="https://www.xxx.com/de/" rel="alternate" hreflang="de-DE" />
<link href="https://www.xxx.com/pl/" rel="alternate" hreflang="pl-PL" />
<link href="https://www.xxx.com/en/" rel="canonical" />
so
<link href="https://www.xxx.com/en/" rel="alternate" hreflang="en-EN" />
gets deleted.
Correct behaviour would be
<link href="https://www.xxx.com/en/" rel="alternate" hreflang="en-EN" />
<link href="https://www.xxx.com/de/" rel="alternate" hreflang="de-DE" />
<link href="https://www.xxx.com/pl/" rel="alternate" hreflang="pl-PL" />
<link href="https://www.xxx.com/en/" rel="canonical" />
in the header.
When the plugin is activated and the languagefilter plugin is activated the lines
<link href="https://www.xxx.com/en/" rel="alternate" hreflang="en-EN" />
<link href="https://www.xxx.com/de/" rel="alternate" hreflang="de-DE" />
<link href="https://www.xxx.com/pl/" rel="alternate" hreflang="pl-PL" />
will read
<link href="https://www.xxx.com/de/" rel="alternate" hreflang="de-DE" />
<link href="https://www.xxx.com/pl/" rel="alternate" hreflang="pl-PL" />
<link href="https://www.xxx.com/en/" rel="canonical" />
so
<link href="https://www.xxx.com/en/" rel="alternate" hreflang="en-EN" />
gets deleted.
Correct behaviour would be
<link href="https://www.xxx.com/en/" rel="alternate" hreflang="en-EN" />
<link href="https://www.xxx.com/de/" rel="alternate" hreflang="de-DE" />
<link href="https://www.xxx.com/pl/" rel="alternate" hreflang="pl-PL" />
<link href="https://www.xxx.com/en/" rel="canonical" />
in the header.