How to fix multiple <main> elements
Last updated:
AI Search Score checks that your page has exactly one <main> landmark — the wrapper around the primary content.
Why this matters
<main> tells machines “this is the unique, central content of the page.” There should be exactly one. Multiple <main> elements (often from a theme and a page builder both adding one) create ambiguity about where the real content is.
How to fix it
The usual cause is a theme template and a builder/plugin each outputting a <main>. Identify the duplicate (view source, search for “<main”) and remove one.
- If it’s theme-level, edit the template so only one
<main>wraps the content area. - If a builder adds its own, check the builder’s settings for an option to output a different element.
How to check it worked
Re-scan. “Exactly one <main> landmark” should turn green. Confirm via view-source that “<main” appears once.
Prefer this done for you? See our services.