opennic / opennic-web

Official OpenNIC Homepage
https://www.opennic.org/
46 stars 13 forks source link

Redirect to www subdomain #47

Closed jonaharagon closed 6 years ago

jonaharagon commented 6 years ago

This is the functionality we had before the server switch, and the setup Netlify recommends: https://www.netlify.com/blog/2017/02/28/to-www-or-not-www/

jonaharagon commented 6 years ago

Deploy preview for opennic ready!

Built with commit 84340610198209c9a42c1f8543676b5b25f8f6c6

https://deploy-preview-47--opennic.netlify.com

Fusl commented 6 years ago

Does this also match for http:// (non-SSL)?

jonaharagon commented 6 years ago

@Fusl we redirect to https automatically, so worst-case, it goes http://opennic.org -> https://opennic.org -> https://www.opennic.org