Technical SEO
Important
404 Page Language
search What we check
Whether your custom 404 page is rendered in the same language as the rest of the site - a Rails-default English 404 on a non-English site contradicts the language the rest of the site declares.
build How to fix
- 1 Render the 404 page in the site's own language, not the framework default.
- 2 If you use the static public/404.html, translate it (or serve a localized error template) so its <html lang> and copy match the site.
- 3 Visitors who hit a missing URL should get an error page in the language they were reading.