This page has a noindex directive, meaning search engines should not index it.
This page's metadata includes robots: { index: false }, which generates:
<meta name="robots" content="noindex, follow" />
Yet the English source page points hreflang here, expecting search engines to use this page for French users.
export const metadata = {
title: "...",
description: "...",
robots: {
index: false, // ❌ Noindex directive
follow: true,
},
alternates: {
canonical: "https://mock.okok.now/issues/hreflang-target-noindex-target",
languages: {
en: "https://mock.okok.now/issues/hreflang-target-noindex",
fr: "https://mock.okok.now/issues/hreflang-target-noindex-target", // This page
}
}
}Cette page ne devrait pas être une cible hreflang car elle a une directive noindex.