realworld icon indicating copy to clipboard operation
realworld copied to clipboard

Give a clear 404 on all URLs that don't exist, currently they silently redirect to the home page

Open cirosantilli opened this issue 4 years ago • 1 comments

E.g.:

  • for agular currently they silently redirect to the home page: https://demo.realworld.io/#/editor/ is the editor, but if I hack it: https://demo.realworld.io/#/editorasdfqwer/ it just immediately redirects to: https://demo.realworld.io/#/ It would be better to have a clear 404 this page does not exist error instead
  • for https://github.com/gothinkster/react-redux-realworld-example-app at 9186292054dc37567e707602a15a0884d6bdae35 , http://localhost:4101/editorasdf just gives a blank page without redirects. I'm glad react doesn't use the terrible /#/ thing however!

I often type stuff wrong on the address bar, or I delete my dev database and articles are gone, and I'm left wondering what's up :-)

cirosantilli avatar Apr 23 '21 09:04 cirosantilli

Hello @cirosantilli, thanks for pointing it out.

A 404 page is good candidate feature for the V2!

geromegrignon avatar Apr 26 '21 13:04 geromegrignon