Why Django Document site always redirect to an earlier version

96 views
Skip to first unread message

Zhiqiang Liu

unread,
Sep 21, 2017, 9:07:32 PM9/21/17
to Django developers (Contributions to Django itself)
Most of the times it is redirected to v1.6, sometimes 1.10, not sure why it happens?

Are people aware of that?


Dylan Reinhold

unread,
Sep 21, 2017, 10:38:42 PM9/21/17
to django-d...@googlegroups.com
From the main site, or from other site like stack-overflow or google? From the main site I get 1.11.
From another site you cant control what links are used.

Dylan

On Thu, Sep 21, 2017 at 6:07 PM, Zhiqiang Liu <zachl...@gmail.com> wrote:
Most of the times it is redirected to v1.6, sometimes 1.10, not sure why it happens?

Are people aware of that?


--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscribe@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/98fcb742-83a4-4b5b-ad7a-5b4e8c47769c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

phani p

unread,
Sep 22, 2017, 7:03:26 AM9/22/17
to django-d...@googlegroups.com
Guys i have an suggestion.Instead of showing https://docs.djangoproject.com/en/1.11/ we can show it as https://docs.djangoproject.com/en/latest/ . Every time we have new release we can proxy pass /latest end point to latest version documentation.It will take time but in few days it will be uniform across all websites. 

 P.H.S.Phanindhra,
AE13B020,
4th year Undergraduate,
Aerospace Engineering,
IIT Madras,Chennai.

Florian Apolloner

unread,
Sep 22, 2017, 7:38:10 AM9/22/17
to Django developers (Contributions to Django itself)
This is why we already have https://docs.djangoproject.com/en/stable/ links. From a SEO perspective we are going to stay with versioned URLs and redirects.


On Friday, September 22, 2017 at 1:03:26 PM UTC+2, Sai wrote:
Guys i have an suggestion.Instead of showing https://docs.djangoproject.com/en/1.11/ we can show it as https://docs.djangoproject.com/en/latest/ . Every time we have new release we can proxy pass /latest end point to latest version documentation.It will take time but in few days it will be uniform across all websites. 

 P.H.S.Phanindhra,
AE13B020,
4th year Undergraduate,
Aerospace Engineering,
IIT Madras,Chennai.

On 22 September 2017 at 08:08, Dylan Reinhold <drei...@gmail.com> wrote:
From the main site, or from other site like stack-overflow or google? From the main site I get 1.11.
From another site you cant control what links are used.

Dylan
On Thu, Sep 21, 2017 at 6:07 PM, Zhiqiang Liu <zachl...@gmail.com> wrote:
Most of the times it is redirected to v1.6, sometimes 1.10, not sure why it happens?

Are people aware of that?


--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.

Zhiqiang Liu

unread,
Sep 22, 2017, 10:00:44 AM9/22/17
to Django developers (Contributions to Django itself)
even https://docs.djangoproject.com/en/stable/ directs me to /1.6/ and will give me 404. This has been bothering me for a while and I don't know why it doesn't happen to many. I set up a brand new laptop yesterday and still have the same issue.

Jamesie Pic

unread,
Sep 22, 2017, 10:22:03 AM9/22/17
to django-d...@googlegroups.com
Amazing, what's the output when you try `curl -I https://docs.djangoproject.com/en/stable/ | grep Location` ?

If none, try without the `| grep Location`.

Florian Apolloner

unread,
Sep 22, 2017, 10:38:13 AM9/22/17
to Django developers (Contributions to Django itself)
Please provide the output without the grep -- I'd like to see all headers. We are sending a 302 redirect to /en/1.11/ for sure ;)

Zhiqiang Liu

unread,
Sep 22, 2017, 1:27:08 PM9/22/17
to Django developers (Contributions to Django itself)
Here it is 
HTTP/1.1 302 Found
Server: nginx
Date: Fri, 22 Sep 2017 17:26:03 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 0
Connection: keep-alive
x-content-type-options: nosniff
Content-Language: en
Location: /en/1.11/
x-xss-protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Vary: Accept-Language, Cookie
Access-Control-Allow-Origin: https://code.djangoproject.com
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Public-Key-Pins-Report-Only: pin-sha256="og15UrKd7sLz7rIaFIsLD/n3qgqRrXmSQ37/d/8sqi8="; pin-sha256="deadbeefcafedeadbeefcafedeadbeefcafe1111111="; max-age=300; includeSubDomains; report-uri="https://djangoproject.report-uri.io/r/default/hpkp/reportOnly"

Zhiqiang Liu

unread,
Sep 22, 2017, 1:30:30 PM9/22/17
to Django developers (Contributions to Django itself)
Ah it used to happen to all my browsers, now with the new laptop it only happens to Chrome, so it is browser related I think.

Zhiqiang Liu

unread,
Sep 22, 2017, 1:38:17 PM9/22/17
to Django developers (Contributions to Django itself)
Finally found it out. There's a browser extension called django version switcher hidding in my browser, which is carried over to my new laptop when I set it up. The extension will intercept your request to django docs site and redirect you to a version it remembered. 

It must be long ago because I didn't remember there is such a thing. 

Thanks for all the help:)
Reply all
Reply to author
Forward
0 new messages