Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative strategy for detecting 404 #91

Open
stereobooster opened this issue Jan 1, 2018 · 1 comment
Open

Alternative strategy for detecting 404 #91

stereobooster opened this issue Jan 1, 2018 · 1 comment

Comments

@stereobooster
Copy link
Owner

stereobooster commented Jan 1, 2018

As of now the only way how react-snap can detect 404 is requiring 404 page to use "404" string in the title and check all other page to not contain "404" string.

Alternative way would be to use meta tag

<meta name="prerender-status-code" content="404">

https://github.com/prerender/prerender#httpheaders

@stereobooster
Copy link
Owner Author

Also add link to warning ⚠️ 404 page title does not contain "404" string which will explain why this is important

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant