pingthepeople / ptp-web

Web front-end for Ping the People
https://pingthepeople.org
2 stars 0 forks source link

www.pingthepeople.com should redirect to pingthepeople.com #23

Closed jhoerr closed 7 years ago

jhoerr commented 7 years ago

Lotsa folks are used to typing "www." in front of web addresses, so we should gracefully redirect them to the proper hosted domain. I've already set up DNS records to point www. to the our host, as well as host bindings to receive requests at that domain. We just need an HTTP rewrite rule to perform the actual redirect.

ohnoitsaustin commented 7 years ago

looks like this is working correctly. FWIW, I think only the web.config redirect was needed; .htaccess only applies to apache servers.