Why does my React/Vue route work on click but 404 on page reload?
Client-side routers intercept clicks in JS, but a hard refresh asks the web server for that URL. Add `try_files $uri $uri/ /index.html;` in Nginx or a rewrite rule on Cloudflare/Netlify.
What is a Soft 404 in Google Search Console?
A Soft 404 happens when a missing page returns HTTP 200 OK with 'Not Found' text instead of a genuine 404 status code, wasting crawl budget.
Should API 404 responses return HTML or JSON?
Always return JSON (ideally RFC 9457 `application/problem+json`) for `/api/*` routes so clients do not crash parsing HTML.