Developer fixes Google indexing bug on multi-tenant SaaS platform
A developer discovered Google was not indexing pages for their multi-tenant church-website SaaS, Eglise en Ligne. The issue was caused by 'Soft 404' errors, where Google received HTTP 200 success codes for pages that only displayed error messages. This occurred when Google crawled tenant-specific URL patterns on the platform's main marketing domains, which lacked the necessary church context. The developer fixed the problem by implementing a single guard in the Next.js application's layout to return a proper 404 status for such requests. After deployment, the marketing domains now correctly return 404 errors for invalid tenant paths.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in