usnationalarchives/nara-bia-photos

Can't test for 404s

Closed this issue · 5 comments

As a React app I'm not sure we can do anything about this?

This site returns "soft 404" errors for missing pages, which means a success status code is returned for non-existent pages. This means some broken links cannot be detected on this site. Server Configuration 1 pages

Ensure the 404 handler for this site returns HTTP status code 404 for non-existent pages.
The following status is returned for non-existent pages: 200 OK.

https://nara-bia-photos.herokuapp.com/sortsite-broken-404-probe-a3e453d567.none Line 1

@matbrady Right now it looks pretty weird because the footer is flesh with the header and there's a bunch of white space below. Can we add white space between then with a simple 404 message? Or is that not possible?

Screen Shot 2020-10-16 at 10 53 31 AM

Still returning bad urls as 200 codes instead of 404s. Do I need to use a different server to validate?

There nothing we can do about returning a 404 error code unless we redirect to the root domain which doesn't really make sense due to the nested path that this will exists at.

@lizzy looks like this is a FOL.