I have a content page in English with translations in Japanese and Chinese. Even when I did not publish the translation nodes, the source code of the page will show the hreflang attributes to the languages not published in the header.
This seems to be generated automatically. And when I run a test for SEO, these language links throw a 404 error because they are not published. How do I remove unpublished links from the hreflang? (And should be added automatically when you publish the translations)