Skip to content
Nazmul Nikhil
Menu

X (Twitter) Card Missing (Ahrefs): Add One Tag for Better Previews

Ahrefs flags pages without the twitter:card tag. Without it, links on X show a plain preview. Here's the one tag to add and how Open Graph fills in the rest.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
X (Twitter) Card Missing (Ahrefs): Add One Tag for Better Previews
Photo: Roman Kraft on Unsplash

In short

Ahrefs flags "X (Twitter) card missing" when a page has no twitter:card tag. Without it, X may show a plain or small preview. Since X reads Open Graph tags for the title, description and image, adding one line, <meta name="twitter:card" content="summary_large_image">, plus complete Open Graph tags, is enough.

This is a quick fix with a small payoff. How much it matters depends on how much your audience uses X.

Should you bother?

If your audience isn't on X, this is low priority. Fix Open Graph tags first, because LinkedIn, Facebook and messaging apps use those. Then add the X card tag in the same template, since it costs nothing.

How to add it

WordPress: Yoast SEO > Settings > Site features > X card data (on). Rank Math adds it by default; choose the card type in Titles & Meta > Global Meta.

Shopify: most themes include it. If missing, add it to the theme's social meta snippet.

Webflow and Wix: add it in site-wide custom head code if the platform doesn't output it.

Custom builds: add it to the shared layout next to your Open Graph tags:

<meta name="twitter:card" content="summary_large_image">

This guide isn't affiliated with or endorsed by Ahrefs.

Sources and references

TAGSAhrefs Site AuditTwitter card missingAdd twitter cardX card meta tag
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com