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

Support redirects instead of throwing a "HTTP 302 error" #13

Open
umeshkalia opened this issue Sep 21, 2016 · 7 comments
Open

Support redirects instead of throwing a "HTTP 302 error" #13

umeshkalia opened this issue Sep 21, 2016 · 7 comments

Comments

@umeshkalia
Copy link

node app.js is generating HTTP 302 error while accessing definition pages of my website e.g. http://www.alleydog.com/glossary/definition.php?term=Eccentricity
Other pages are being crawled successfully.
Can you please suggest some solution?

@nitriques nitriques changed the title HTTP 302 error Support redirects instead of throwing a "HTTP 302 error" Oct 6, 2016
@nitriques nitriques self-assigned this Oct 6, 2016
@nitriques
Copy link
Member

Right now, redirects are not supported, so I would recommend to update your sitemap and make sure that all listed urls returns 200. But I'll keep this issue open since we should support 302/301 http statuses (but only on the same origin).

@nitriques
Copy link
Member

We started to work on supporting redirects: a113ba2

@nitriques
Copy link
Member

Also added a relevant commit to this problem: a19af58

@wortkotze
Copy link

I would need this feature also, is it already in the latest release on npm? thx Stephan

@nitriques
Copy link
Member

@wortkotze Sadly, it is still not done. But, it should be pretty easy to add now...

@wortkotze
Copy link

@nitriques thx I used your commit and added it manually

@nitriques
Copy link
Member

@wortkotze That's cool! Wanna send a PR !?!?

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

3 participants