Canonical, hreflang and redirect errors that hide pages
Canonical, hreflang and redirect mistakes hide pages because they tell search engines to ignore, merge or skip the page you wanted shown. They are easy to make and hard to see, since the page still loads fine for a person. Check them by reading the tags and following the redirects, not by looking at the page in a browser.
Canonical tag errors
A canonical tag tells search engines which URL is the main version of a page. It is a hint, not a command. It helps when the same content appears at several URLs, for example with tracking parameters or with and without a trailing slash.
Common errors:
- Canonical points to the wrong page. A template sets every page’s canonical to the home page. Search engines may then fold all those pages into one.
- Canonical points to a redirect, a 404 or a noindex page. The signal is wasted or contradicts itself.
- Canonical differs from the sitemap URL. The sitemap says one thing and the tag says another.
- Missing canonical on pages with parameters. Filter and sort URLs create many near copies.
- More than one canonical tag. Plugins sometimes add a second one. Search engines may ignore both.
- Relative or http URLs. Use the full, correct HTTPS address.
The fix: each indexable page should have one canonical that points to itself, or to the true main version, and that target should return a 200 status.
Hreflang errors
Hreflang tells search engines which language or region version of a page to show to which audience. It matters for sites in more than one language or country. For a deeper look, read our post on international SEO for AI search.
Common errors:
- No return tag. Page A lists page B as an alternate, but B does not list A. Pairs must point both ways.
- Wrong language or region codes. Codes must follow the standard format, such as
en,en-gborne. - Alternate points to a redirect or error page. Each hreflang URL should return a 200.
- Conflict with canonical. If a language page’s canonical points to a different language, the hreflang set breaks.
- Missing self reference. Each page should list itself in its own set.
- No x-default. This is optional but helpful for a general fallback page.
The fix: build the full set of alternates once, make every page in the set list all of the others and itself, and validate the codes.
Redirect errors
A redirect sends a visitor and a bot from one URL to another. Used well, it keeps old links alive. Used badly, it hides pages.
Common errors:
- Redirect chains. A goes to B, B goes to C. Each hop slows the visit and some bots stop following after a few hops. Point A straight to C.
- Redirect loops. A goes to B and B goes back to A. The page can never load.
- Temporary redirect used as permanent. A 302 says the move is temporary. For a lasting move, use a 301 or 308.
- Everything redirected to the home page. When old pages go to the home page instead of a close match, the signal is lost and visitors are confused.
- Redirects that skip the language. A visitor from one region is always sent to another version, so bots and people cannot reach the page they want.
- Mixed HTTP and HTTPS or www and non-www. Pick one version and redirect the rest to it in one step.
The fix: list your redirects, flatten chains, remove loops and make sure each old URL lands on the closest live page.
How to find these errors
- Crawl the site and export canonical, hreflang and status code columns.
- Compare each page’s canonical with its own URL and with the sitemap.
- Check every hreflang pair for a return tag.
- Follow redirects from your top old URLs and count the hops.
- Use the URL inspection tool in Google Search Console to see which canonical Google chose.
Where automation helps
These checks are mechanical, and they come back every time a site changes. SuperRank is an autonomous AI SEO agent. Its technical SEO audit finds tag and redirect issues, writes the fix and opens the pull request on its own. A person on your team merges it. Read how the model works on the autonomous SEO page.
Quick FAQ
Is a canonical tag the same as a redirect? No. A redirect moves the visitor. A canonical only suggests which version to index, and the visitor stays on the page.
Can I use hreflang without canonical? Yes, but each page should usually carry a self-referencing canonical so the two signals agree.
How long do fixes take to show? Search engines need to recrawl the pages, which can take days or weeks.
