Debug /c/:slug Route
Quick tests:
How to Validate
- Enter a slug above and click "Test"
- If found, copy the test URL
- Open the URL in a new tab: should load with HTTP 200 and show company storefront
- Check browser console for logs like:
[/c/:slug] - Hard refresh (Cmd/Ctrl + Shift + R) to ensure SPA route works without cache
If 404 still appears in PROD, check that your hosting platform (Vercel/Netlify) has SPA rewrites configured to serve index.html for all /c/* routes.