redirect home

warning info redirect-home Indexing and reachability

A redirect stub (meta refresh, a one-line JavaScript redirect or a Next.js NEXT_REDIRECT page) whose target is the home page. Google treats a removed page redirected to the home page as a soft 404, so the old address keeps nothing. It is a warning when the stub still carries the text of a page — usually a template that put the redirect on every page of a section — and info for an empty alias.

What indexgap reports

The finding reads:

warning  redirect-home  a page with text (about … words) redirects straight to the home page: a search engine will not see the text, and it treats a redirect to the home page as a soft 404. Usually this is a template bug

How to fix it

Point the stub at the page that replaced the old one in meaning, not at the home page. If a template put the redirect to the home page on pages with text, find the meta refresh in the template and remove it.

How it behaves at scale

Collapsed when it fires template-wide. If it appears on 90% or more of the pages — or of one language version — of a site with at least 20 pages, it is a property of the template and is reported once, with the count, instead of once per page.

Finding it

pipx install indexgap
cd your-project
indexgap init
indexgap check

Then indexgap brief turns every finding on this page into a work order in indexgap-briefs/, with the thresholds the result has to satisfy and the command to check it.

Related checks in indexing and reachability

All checks · Indexing and reachability