← Back to Test Matrix
⚠️ Noindex + Hreflang Target

Noindexed French Target Page

This page has a noindex directive, meaning search engines should not index it.

The Problem:

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.

The Conflict:

Current Metadata:

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
    }
  }
}

Content (Français):

Cette page ne devrait pas être une cible hreflang car elle a une directive noindex.

← Back to source page (English)