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

Is it possible to have permissive default? #10

Closed
evgenyfadeev opened this issue Feb 28, 2013 · 5 comments
Closed

Is it possible to have permissive default? #10

evgenyfadeev opened this issue Feb 28, 2013 · 5 comments
Labels

Comments

@evgenyfadeev
Copy link

We've installed the app on our production site where we did not want to disallow any crawling.

Unfortunately - with the disallow all default we had an issue with Google, which basically stopped all search traffic just upon upgrading the application. We've lost 60% of traffic instantly.

@beniwohli
Copy link

+1. While I agree that usually "secure by default" is the better choice, I think in this case an "allow all" default is less surprising.

@jezdez
Copy link
Member

jezdez commented Mar 27, 2013

This would be a rather annoying change for all current users, but I see your argument. I'll change the default in the next upcoming major release (1.0).

@merenbach
Copy link

I have an issue that I suspect may be related. I am trying to create a permissive setting manually and I am not having much luck. I want to specify:

User-agent: *
Disallow: 

I can't seem to do this; if I put in just a space character in the url definition, it becomes a slash. I thought about using Allow: /, but I don't know if the Allow directive is quite as widely supported as Disallow.

If this should have been in a separate issue, please let me know. Or maybe I'm going about this the wrong way. ;)

Side note: In this vein, I noticed that the docs say this:

The sites framework is used to enable multiple robots.txt per Django instance. If no rule exists it automatically allows every web robot access to every URL.

@kenzic
Copy link

kenzic commented Jun 7, 2013

+1 x 1,000,000

@jezdez
Copy link
Member

jezdez commented Jun 10, 2013

Okay, I haven't gotten to this in the last months, so if there is interest I accept pull requests.

gbezyuk added a commit to gbezyuk/django-robots that referenced this issue Sep 30, 2013
jezdez added a commit that referenced this issue Jan 16, 2014
fix issue #10 - allow: / by default
@jezdez jezdez closed this as completed Jan 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants