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

Detect if a page responded with a 404 statusCode #25

Open
colthreepv opened this issue Jul 14, 2017 · 2 comments
Open

Detect if a page responded with a 404 statusCode #25

colthreepv opened this issue Jul 14, 2017 · 2 comments

Comments

@colthreepv
Copy link

Hi Gajus, I cannot thank you enough for this project.
I'm trying to detect if a crawled page responds with a statusCode different than 200 for SEO reasons, is that possible / will be possible?

@gajus
Copy link
Owner

gajus commented Jul 14, 2017

Not at the moment but I am planing new features for crawler like functionality as a SEO tool. Will keep an eye on this.

@colthreepv
Copy link
Author

It's actually easier than expected. I have copy/pasted deeply from prerender/prerender

I have put that (usus) inside an express server that replies with appropriate status code.
If anyone has troubles setting it up can reply here...

Alas a more low-level access would be bliss, if possible by the Chrome API

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

2 participants