---
title: "Canonical points to a URL that returns 4xx/5xx (seo/canonical-broken)"
description: "seo/canonical-broken: A canonical to a broken URL tells Google to index nothing."
canonical: https://void-design.vercel.app/rules/seo/canonical-broken
lastModified: 2026-09-16
---

# Canonical points to a URL that returns 4xx/5xx

`seo/canonical-broken` · severity **error** · category SEO · detected by `void seo` and `void audit`

## Why it matters

A canonical to a broken URL tells Google to index nothing. This is a scoring gate.

## How to fix it

Point the canonical at the live, 200 version of the page (usually the page itself).

## References

- https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls

## More seo rules

`void seo` reports 60 rules in this category. What search engines need from the raw response: status codes, titles and descriptions in <head>, self-referencing canonicals, one h1, crawlable links, Open Graph, icons, robots.txt and a sitemap with real dates.

- `meta-description-length` Meta description length outside 50–160 characters — [seo/meta-description-length](https://void-design.vercel.app/rules/seo/meta-description-length)
- `metadata-in-body` Crawler receives <title>/canonical/description inside <body> (Next.js streaming metadata) — [seo/metadata-in-body](https://void-design.vercel.app/rules/seo/metadata-in-body)
- `canonical-missing` No single rel=canonical in <head> — [seo/canonical-missing](https://void-design.vercel.app/rules/seo/canonical-missing)
- `canonical-invalid` Canonical URL is relative or contains a fragment — [seo/canonical-invalid](https://void-design.vercel.app/rules/seo/canonical-invalid)
- `canonical-conflict` Canonical target redirects, is noindex, or canonicalises elsewhere — [seo/canonical-conflict](https://void-design.vercel.app/rules/seo/canonical-conflict)
- `canonical-not-self` Canonical points to a different URL — [seo/canonical-not-self](https://void-design.vercel.app/rules/seo/canonical-not-self)
- `head-js-mutation` JavaScript changes canonical, robots, title or description after load — [seo/head-js-mutation](https://void-design.vercel.app/rules/seo/head-js-mutation)
- `h1-count` Page doesn't have exactly one visible <h1> in the server HTML — [seo/h1-count](https://void-design.vercel.app/rules/seo/h1-count)

Detected by `void seo` and `void audit`. Explain it in a terminal: `void rules seo/canonical-broken`
