-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
this directory its open #240
Comments
Can you provide some description of what the issue is rather than throwing a random link? |
I believe they are reporting that the URL pulls up an index of the directory, which is often reported by security scanners and the like as a security issue. In this case, though, I don't think it is. I think it's a feature, not a bug. |
I'm thinking we might need to put a a simple index.html in there because (a) we keep on getting these reports from folks who think it's a problem and (b) it's still a primary result when you google "node download" or "download node.js" or similar, regardless of the robots.txt (if anyone has a suggestion for fixing this other than an index.html for that page then please let us know!). |
I too like the browsability of the downloads folder, it's a simple way to access old versions. There's things like the empty Of course, it'd be nicer if google would point to https://nodejs.org/en/download/ when seaching for |
I have pinged my SEO friend about the problem. Will report back his thoughts. |
Here's my angle on this: when I was a younger developer, there were programming language/framework/whatever sites that used a directory instead of having a page. This was pretty discouraging as a newcomer, as I didn't really know what to do with this structure that I'd never seen on the web before. It was frustrating when there were just two software versions + 32/64 bit versions + Windows/Mac/Linux versions. This directory is much harder than that - to get to the latest Node release, you have to pick the right folder (release) and scroll all the way down to the arbitrary location of the latest version in the middle of the page. Very poor usability. |
Here is the advice I have received on stopping this from appearing in search results.
@rvagg do you want to just stop this from appearing in search results or additionally stop this being flagged up by people who think it is a problem by plugging it with an index.html (personally i share @silverwind 's view, but I have no idea how often this comes up) |
We've had 3 or 4 reports of this now (perhaps more via other mediums) by people who think it's a problem and the reason is because they are finding it via google: That search really should go to https://nodejs.org/en/download/ instead because it's the place where we can guide them through the selection process. |
Made a start on this https://github.com/rnsloan/new.nodejs.org/commit/aaf435494420d1bd01749ca4a4d94f71d22d0ca5 @rvagg you still want these two directories inside robots.txt:
I am unsure if they will end up supplanting the current top search result. Might be best if we try removing all of |
server config needs to go in https://github.com/nodejs/build/blob/master/setup/www/resources/config/nodejs.org and yeah, I'm fine with disallowing all of /download, the api docs get served from /api anyway. |
Once this nginx config change is deployed nodejs/build#231 I will create a PR to update |
https://nodejs.org/download/
The text was updated successfully, but these errors were encountered: