ShipworkSite inspection
Hreflang sitemap

Crawlability

PaginationAre paginated pages set up right?Internal searchIs site search eating crawl budget?URL parametersAre parameters creating duplicates?Log analyserWhat does Googlebot actually crawl?Robots builderNeed a robots.txt file?Soft 404sAre pages “not found” but returning 200?JavaScriptCan crawlers see it without running JS?FreshnessIs my site quietly going stale?Robots.txtDoes robots.txt say what I think?

Indexing

Sitemap lastmodAre my sitemap dates valid?SitemapIs my sitemap actually fetchable?IndexingIs Google allowed to index my pages?CanonicalsIs Google indexing the wrong URL?Index signalsDo sitemap and index signals agree?Sitemap generatorNeed a sitemap.xml for my site?Bulk URL statusWhere does each of these URLs really land?Redirect builderNeed the redirect rules?RedirectsAre my URLs answering directly, over HTTPS?

On-page

Keyword ideasWhat are people searching for?SERP previewHow does my page look in Google?Content qualityAre your pages too thin or too alike?Image weightAre images slowing the page?CannibalizationAre pages competing with each other?On-page checkDoes the page use its target phrase?ImagesAre my images accessible and loading?Meta tag builderWhat should my title and share tags say?DuplicatesDo my pages compete for one query?

Links

Orphan pagesWhich pages can no link reach?Link graphHow deep do your pages sit?Anchor textDo links say what they point at?Outbound linksAre external links still alive?Broken linksAre internal links sending visitors nowhere?

Structured data

Rich resultsIs my markup eligible for a rich result?Structured dataIs my product schema valid?Schema coverageDo my key pages carry structured data?Social previewHow does my page look when shared?Schema vs pageDoes markup match the page price?Schema builderNeed valid JSON-LD?

International

Hreflang sitemapDo page and sitemap hreflang agree?HreflangDo my language versions link back?Hreflang builderNeed the hreflang tags?Page DoctorWhy is this page not doing well?Redirect planMy site has dead links — what redirects do I write?Sitemap diffIs anything missing from my sitemap?Robots simulatorWhat does my robots.txt actually block?Can Googlebot?Can Googlebot fetch this URL?
Every error, explainedGuides
Pricing Learn Error guides Run free audit

+1 free check

Welcome to Shipwork

Sign in free and your next check this month is on us.

Continue with GoogleContinue with email

We email you a 6-digit code. No password.

No card needed. Reports and watches follow you to any device.

Do your page and sitemap hreflang agree?

Google accepts hreflang on the page or in the sitemap, but not inconsistently. This reads both and reports which method you use and whether they conflict.

Reads hreflang from the page head and from the sitemap. Nothing is stored.

Search Console

Not connected. Sign in and Connect Search Console to read Google's own verdict for this page. The check below still runs from public signals without it.

How this check works

Shipwork reads the hreflang alternates in your page head and the xhtml:link entries in your sitemap, then reports which method you use and whether the two sets disagree. Declaring both inconsistently is worse than one.

What the hreflang sitemap check compares

The check reads hreflang in two places. From the page it collects link elements that declare rel=alternate and carry an hreflang value. From /sitemap.xml it collects xhtml:link entries that carry an hreflang value. It then counts each set and compares the languages they declare.

If both are present, it reports the languages that appear in one set but not the other. It reads the site's root sitemap and the one page you submitted; it does not follow a sitemap index into child files, and it does not check that each alternate URL exists or links back. Reciprocity is the job of the hreflang check.

How to read the comparison

If only the page declares alternates, the result is informational: page-level hreflang is enough when it is reciprocal. If only the sitemap declares them, the same applies in reverse. Neither is wrong on its own. When both are present and the sets differ, the result is a warning, because two conflicting declarations are worse than one consistent one.

A clean result means both places declare the same languages, or that only one method is used. It does not confirm that the values are valid language tags or that the URLs are correct. The check compares the set of language codes; a pair that shares a code but points at different URLs is not caught here. It also reads only the single page you submitted, so run it on a representative template such as a product page or a home page.

Common causes and why they matter for search

A site can add page tags through a theme and sitemap tags through an SEO app, and the two drift as new languages are added. A migration may leave the old set in one place. Search engines expect one clear set, and conflicting signals can cause the whole cluster to be ignored.

Hreflang tells search engines which language or regional version to show. If the declarations disagree, the wrong version can be served or the alternates can be dropped, which splits international traffic. The check reads declarations, so it cannot see whether a visitor actually receives the intended page.

How to fix a page and sitemap conflict

Choose one method and make it the source of truth. If you keep page tags, remove the sitemap alternates or bring them into line; if you keep sitemap hreflang, keep the page clean. Use the generator to build the entries and ensure every version points at every other version, including itself.

Fix the generator or template that produces the set so new languages are added in one place. After changes, verify the rendered head and the sitemap agree, then run the check again. For a single missing return link, see the reciprocal hreflang fix.

When to use related hreflang checks

Use hreflang check for reciprocity and page-level correctness, and this check for page versus sitemap agreement. Use the sitemap check if the sitemap itself does not fetch.

If you are building the cluster for the first time, the hreflang generator produces both formats. On a large site, keep sitemap hreflang and leave the page head clear, and confirm the child sitemaps are the ones search engines actually read. Whatever method you choose, add every new language version to the same set as it launches.

Questions

Page tags or sitemap, which is better?
Either works. Page-level hreflang is more common; sitemap hreflang suits very large sites. Pick one and keep it consistent.
What does a conflict look like?
The page declares one set of languages and the sitemap declares a different set. The signal is muddled and Google may ignore it.
Does this check reciprocity?
Reciprocity (each version linking back) is checked by the hreflang check on the page. This check compares page and sitemap declarations.
How do I generate the sitemap hreflang entries?
This page only checks them. To build them, use the hreflang generator: add one line per language version and it works as a sitemap hreflang generator, writing the full sitemap entry with the xhtml:link alternates.
How do I check hreflang in my sitemap?
The check reads the hreflang alternates in your page head and the xhtml:link entries in your root sitemap, then compares the language sets. It reports which method you use and lists any language that appears in one place but not the other.
Should hreflang go on the page or in the sitemap?
Either works. Page-level hreflang is more common, and sitemap hreflang suits very large sites. What matters is consistency: declaring both inconsistently is worse than using one method correctly. Pick the one your system can keep accurate.
Does this check hreflang reciprocity?
No. It compares the page set with the sitemap set. Reciprocity, meaning each version links back to every other version, is checked by the hreflang check on the page. Use that check when a return link is missing or a one-way reference looks wrong.
Why do my page and sitemap hreflang sets differ?
Usually because two systems emit them: a theme or template writes the page tags and an SEO app writes the sitemap entries. As languages are added, one set is updated and the other is not. Make one system the source and generate both from it.
Does the check read child sitemaps?
No. It reads the root sitemap and the single page you submitted. If your hreflang lives in child sitemaps behind a sitemap index, this comparison will not see it, so check those files directly or use the page-level hreflang check.

Keep reading

What this reads

  • Compares the hreflang set on the page with the one in your sitemap.
  • Names every hreflang that appears on one side only.
  • Reads the public page and sitemap; no account is needed.
83checks
0signups needed
0stored on free checks
Cool, just ran an audit and got some insights! Let’s see if I can fix them :)
Tenta Dev, @DevTenta
Whoah! this site is crazy, nothing to roast at all
Ainreek, @AinreekAI
cool as heck, tried it on my blog and the insights it gave are helpful and not bluff.
Refaat 🍉 (Mouse), @1Mouse__