PyLadies Dublin new landing page
whykay π©π»βπ»ππ³οΈβπ (she/her) for PyLadies Dublin γ» Jul 1 '20
It's all working except one thing. Lynn Root (who has been so awesome helping me out) pointed out that I should enable "Enforce HTTPSβ field in the github settings thatβs right below the adding of βCustom Domainβ.
I went to have a look and found that I was unable to, as it said unavailable for your site because your domain is not properly configured to support HTTPS. Which was kinda weird.
Long story short... Lynn suggested a workaround by adding the following in <head>
section of my index.html and it worked.
<script>if (window.location.protocol != "https:" && window.location.host.indexOf('pyladies.com') > -1) {
window.location.protocol = "https";
}</script>
Top comments (2)
Hmm, that's a bit of a pain, isn't it? I know it doesn't matter much in the grand scheme, but it'll break the back button in browsers, since "back" will take you to the redirect again.
Your certificate's good, everything else is good, I wonder what's causing GitHub to be not so good? Maybe it's time to raise a support ticket!
It is a pain, but from what I'm told that Cloudflare's free https is not playing with github pages. Anyway, this is a (hopefully) temporary landing page. I would like the PyLadies Dublin members & friends to come together and build a site together, but I might just go and spend a couple of days building one with Flask or something (and try not to end up with Django again, which is always my go-to, for some reason). This could even be a future sprint?