roweb icon indicating copy to clipboard operation
roweb copied to clipboard

disqus problem

Open jeroen opened this issue 10 years ago • 4 comments

The ropensci website can be visited either via http or https. However this causes comments in disqus to be specific to either one or the other URL. For example these pages show different comments:

  • http://ropensci.org/blog/2016/03/01/pdftools-and-jeroen
  • https://ropensci.org/blog/2016/03/01/pdftools-and-jeroen

I think you should be able to configure disqus to fix this. Another solution is to make the website https only and redirect all http sites to https (that's how it's done on opencpu.org)

jeroen avatar Mar 02 '16 21:03 jeroen

Another solution is to make the website https only and redirect all http sites to https (that's how it's done on opencpu.org)

any problem with this @karthik seems like a good solution

sckott avatar Mar 03 '16 15:03 sckott

Sounds fine to me.

karthik avatar Mar 03 '16 16:03 karthik

@jeroenooms how do we do make the website https only and redirect all http sites to https, i assume that needs to be done on karthik's server?

sckott avatar Mar 03 '16 19:03 sckott

If you run your own server you can add a simple rule to nginx, see e.g. this topic.

I personally use cloudflare for all my sites. This gives you free and hassle-less https and you can add simple page rules, including _always use https_. However for this to work you need to change your ropensci nameserver to cloudflare, not sure if you want to do that.

screen shot 2016-03-03 at 11 07 45 pm

jeroen avatar Mar 03 '16 22:03 jeroen