CivicTechTO / MyDem0cracy.ca-site

An citizen-run online consultation experiment.
http://mydem0cracy.ca
MIT License
0 stars 1 forks source link

Allow proper 301 redirects from http to https #14

Closed patcon closed 7 years ago

patcon commented 7 years ago

Right now, we redirect to https in javascript. This is not a true HTTP refresh, so things that crawl our site for metadata don't find anything. This includes when people post links on Slack or Twitter.

We can get around this in one of a few ways:

patcon commented 7 years ago

Ah, my mistake, this seems to be just an artefact of slack not scraping metadata when the pasted url is missing the "https://" or "http://" protocol prefix. Closing for now