Skip to content

Instantly share code, notes, and snippets.

@dwijnand
Last active December 31, 2015 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwijnand/7953e885729f46124cf5 to your computer and use it in GitHub Desktop.
Save dwijnand/7953e885729f46124cf5 to your computer and use it in GitHub Desktop.
domain.com vs www.domain.com
domain.com vs www.domain.com
301 Moved Permanently
302 Found
GET http://google.com -> 302 http://www.google.co.uk
GET http://www.google.com -> 302 http://www.google.co.uk
GET https://google.com -> 302 https://www.google.co.uk
GET https://www.google.com -> 302 https://www.google.co.uk
GET http://facebook.com -> 301 https://facebook.com -> 301 https://www.facebook.com
GET http://www.facebook.com -> 301 https://www.facebook.com
GET http://youtube.com -> 301 http://www.youtube.com -> 301 https://www.youtube.com
GET https://youtube.com -> 301 https://www.youtube.com
GET http://yahoo.com -> 301 https://www.yahoo.com -> 302 https://uk.yahoo.com
GET http://www.yahoo.com -> 301 https://www.yahoo.com -> 302 https://uk.yahoo.com
GET https://yahoo.com -> 301 https://www.yahoo.com -> 302 https://uk.yahoo.com
GET http://baidu.com
GET https://baidu.com ??? hangs?
GET http://www.baidu.com
GET https://www.baidu.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment