How to fix “Redirect error” on Ghost
If Search Console shows “Redirect error” on your Ghost site, you are in the right place. The redirect loops or the chain is too long. This page covers the causes and a step-by-step fix for Ghost. A publishing-focused blog platform. Sitemap and canonicals are automatic; posts have a metadata panel.
Contents
What does this status mean?
Google could not follow the redirect to the end: a loop, a very long chain, or an empty or overly long target address. The page cannot be indexed.
Likely causes on Ghost
- http/https or www rules redirect into each other endlessly.
- Plugin and .htaccess redirects conflict.
- Several migrations left old URLs forming a chain.
- The redirect target is generated empty or malformed.
- Ghost note: Define 301s by uploading a redirects.yaml or .json file under Labs > Redirects. If the file format is wrong Ghost will not apply the redirects.
Step-by-step fix on Ghost
- In your Ghost admin go to: Post settings > Meta data, Settings > Code injection and Labs > Redirects.
- Define 301s by uploading a redirects.yaml or .json file under Labs > Redirects. If the file format is wrong Ghost will not apply the redirects.
- Trace the URL with a redirect checker or curl -IL and find the loop.
- Remove conflicting rules; define the domain rule in one place only (server or CDN).
- Shorten chains: each old URL should 301 directly to the final one.
- Verify the target address is absolute and valid.
- After fixing, start validation and resend the URL.
Extra checks for Ghost
- robots.txt: Ghost serves a default robots.txt. To customise, add a robots.txt file to your theme; a wrong rule can close post folders.
- canonical and duplicate URLs: Canonicals are added automatically; if you republish a post from elsewhere, put the original address in the canonical field of the Meta data panel.
After fixing
In Search Console start "Validate fix" for this status and resubmit the page with URL inspection. First confirm the blocker is gone with the free Free indexability checker tool; for many URLs follow Bulk URL indexing: how to send thousands of pages to Google. Google makes the indexing decision itself and timing ranges from days to weeks.
More information
Frequently asked questions
How long a chain is a problem?
Google follows only a few hops. One hop is best.
Can cookies cause a loop?
Yes; redirects that need cookies can become loops for Googlebot. Make redirects work without cookies.
Where are these settings on Ghost?
Post settings > Meta data, Settings > Code injection and Labs > Redirects.