www.ruby-lang.org icon indicating copy to clipboard operation
www.ruby-lang.org copied to clipboard

Provide (language specific) 404 pages

Open stomar opened this issue 11 years ago • 4 comments

A 404 page that links to the (language specific) homepage would be nice, and as far as I know that's how it was set up at the old site.

stomar avatar May 08 '13 04:05 stomar

This could be done with JavaScript on a single 404 page.

postmodern avatar May 08 '13 21:05 postmodern

Not everybody likes JavaScript, see #107. And in this case, if someone tries to access /fr/foo, simply falling back to en for deactivated JavaScript would not be good enough.

stomar avatar May 09 '13 08:05 stomar

Could include a <noscript> tag as well? I'm not sure if it's possible to have directory specific 404 pages in Apache?

postmodern avatar May 09 '13 18:05 postmodern

And with nginx, is it possible there? I think that's more relevant... :)

stomar avatar May 09 '13 18:05 stomar