Technical SEO & HTML Metadata
HTML5 SEO Metadata Auditing, Canonical Links, Hreflang & Social Cards
A technical SEO tag inspector issues a direct HTTP request to the target URL and inspects the raw <head> markup delivered before client-side JavaScript runs. By analyzing the exact initial HTML payload seen by Googlebot, Bingbot, and social link unfurlers, it rapidly surfaces truncated titles, duplicate meta tags, broken canonicals, and missing Open Graph assets.
In organic search results, Google truncates <title> tags by rendered pixel width (~580–600 px on desktop, roughly 50–60 average characters) rather than strict character count. Meanwhile, <meta name="description"> (~140–160 characters) is not a direct ranking signal yet strongly drives click-through rate when written concisely without mid-sentence truncation.
Technical crawl hygiene also depends on strict consistency between <link rel="canonical">, meta robots directives, and HTTP X-Robots-Tag headers. Every indexable page should declare an absolute self-referencing HTTPS canonical URL, while bilingual /es and /en routes require reciprocal rel="alternate" hreflang annotations plus x-default to eliminate cross-locale duplicate conflicts.
Social preview checks cover Open Graph tags (og:title, og:description, og:image, og:url, og:type) and Twitter/X Cards (twitter:card, twitter:image). Serving a publicly reachable 1200×630 px image via an absolute HTTPS URL ensures clean rich cards across Slack, WhatsApp, LinkedIn, and X without fallback blanks.
Diagnosing Missing Tags, Canonical Loops & Broken Social Previews
Systematic diagnostics for client-rendered metadata gaps, staging header leaks, and broken Open Graph images:
1. Tags appear inside Chrome DevTools Elements panel yet the SEO inspector misses them
Root cause: The app injects <title>, canonical, or Open Graph tags late in client JavaScript (React useEffect/helmet) instead of rendering them inside server HTML.
Recommended resolution: Emit all critical SEO tags on the server (such as Next.js App Router generateMetadata) so crawlers receive complete <head> markup on byte one.
curl -sL https://example.com/en | grep -iE '<title>|canonical|og:image'2. Search snippets rewrite your title or clip words prematurely
Root cause: Titles exceed ~600 px display width, repeat brand boilerplate excessively, or duplicate <title> tags exist inside nested layouts.
Recommended resolution: Keep titles unique within 50–58 characters with primary keywords upfront, remove duplicate <title> nodes, and avoid wide all-caps strings.
curl -sL https://example.com/en | grep -oi '<title>.*</title>' | wc -l # should equal 13. Search Console flags 'Alternate page with proper canonical tag' on localized URLs
Root cause: Relative canonical paths, mixed HTTP/HTTPS canonicals, or localized pages mistakenly pointing rel="canonical" back to the default language.
Recommended resolution: Configure each localized route (/es and /en) with a self-referencing canonical URL and matching reciprocal hreflang pairs plus x-default.
curl -sL https://example.com/en | grep -iE 'canonical|hreflang'4. WhatsApp, Slack, or X fails to render the og:image thumbnail
Root cause: Relative paths (/cover.png), HTTP 403 hotlink protection, slow image responses, or robots.txt blocking image endpoints prevent unfurlers from fetching the asset.
Recommended resolution: Provide an absolute HTTPS URL in og:image (ideally 1200×630 px JPEG/PNG/WebP), confirm HTTP 200 status directly, and keep file weight modest.
curl -I https://example.com/opengraph-imageHTML5 Meta / Open Graph / Twitter Cards / Google Search Essentials
Google Search Essentials, WHATWG <head> Parsing & X-Robots-Tag Headers
Per Google Search Essentials and the WHATWG HTML parsing algorithm, only valid metadata elements belong inside <head>. Accidentally rendering visual tags like <img> or <div> early inside <head> forces parsers to implicitly close <head>, causing crawlers to skip subsequent canonical, hreflang, or meta robots directives.
Always inspect both HTML meta robots tags and server-level HTTP X-Robots-Tag headers. Forgotten staging directives like X-Robots-Tag: noindex, nofollow at the reverse proxy layer silently deindex an entire production domain even when HTML source looks clean.
For social unfurling, Open Graph (shared across LinkedIn, Slack, WhatsApp, Discord, and Facebook) paired with Twitter Card markup depends on fast HTTP 200 delivery (<2 s) under 5 MB. Auditing raw SSR markup prevents surprises caused by stale third-party preview caches.
Healthy SSR HTML5 Metadata Blueprint
An audit-ready page emits exactly one <title> around 52 characters (~510 px), one unique ~148-character meta description, an absolute self-referencing <link rel="canonical" href="https://example.com/en/path">, reciprocal hreflang="es", hreflang="en", and x-default links, plus an HTTP 200 1200×630 og:image URL.
Browser API Scope & Boundaries
Inspection evaluates the raw HTTP HTML response without executing client-side JavaScript bundles; pure CSR single-page apps lacking SSR will appear empty to social crawlers and lightweight bots.
SEO Metadata & Open Graph Glossary
Key definitions covering pixel-width title truncation, canonical links, hreflang reciprocity, Open Graph, and X-Robots-Tag:
- Truncamiento en Google SERP por PíxelesSERP
Why does Google truncate titles by pixels instead of characters?
Google renders SERP headlines in proportional Arial font. Wide letters ('W','M') occupy more pixels than thin ones ('I','l'); exceeding ~600px triggers ellipsis truncation.
- Protocolo Open Graph (OG)Social
What is the Open Graph protocol?
A metadata standard enabling social media feeds to parse links into rich preview visual cards with high-resolution imagery and descriptions.
- Etiqueta Rel CanonicalSEO On-Page
What is a canonical URL tag?
An HTML element specifying the authoritative URL of a page, consolidating link equity and preventing duplicate content cannibalization.
- Densidad de Palabras ClaveContenido
What is keyword density in SEO?
The percentage frequency a specific phrase appears relative to total body words. Excessive density (>3-4%) triggers algorithmic keyword stuffing filters.
Frequently Asked Questions on SEO Tag Auditing
Why does Google sometimes ignore and rewrite my <title> tag in search results?
Google frequently rewrites titles that exceed ~600 px width, stuff repetitive keywords, mismatch the visible <h1> heading, or append excessive boilerplate across every URL.
What meta description length works best if it is not a direct ranking factor?
Keeping descriptions between 135 and 158 characters avoids abrupt snippet clipping on mobile and desktop while maximizing organic click-through rate.
What happens if a page has <meta name="robots" content="noindex"> while blocked by robots.txt?
Blocking crawl access via robots.txt stops Googlebot from fetching the HTML to read the noindex tag, allowing the URL to remain indexed as a bare link from external backlinks.
Do I need duplicate twitter:title and twitter:description tags alongside Open Graph?
X/Twitter automatically falls back to og:title, og:description, and og:image when present, though keeping twitter:card="summary_large_image" ensures wide-image card rendering.