#86569Respect no_index while creating canonical and hreflang tags
Description
If the meta tag robots is set to noindex, there should be no canonical or hreflang tags linking to this page.
The following code
<meta name="robots" content="noindex,follow"/> <link rel="alternate" hreflang="en-US" href="https://t3master.ddev.com/"/> <link rel="alternate" hreflang="x-default" href="https://t3master.ddev.com/"/> <link rel="canonical" href="https://t3master.ddev.com/"/>
should look like this
<meta name="robots" content="noindex,follow"/>
Furthermore it would be great if the canonical links to an internal page, that there it’s also checked, if this page can be indexed. The same with hreflang.