mardi 31 mars 2015

https to http redirect for two pages

My site (WordPress, in case it’s important) has ssl enabled with the following ‘rewrite’ rule in the htaccess file …



<IfModule mod_rewrite.c>
# RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ http://ift.tt/1droZBe [R,L]
</IfModule>


I have two pages I would ‘disable’ ssl for …



http://ift.tt/1GdzCrV
http://ift.tt/19zbqDy


The problem I have is that each of these pages has a highcharts chart on. For some reason, the highcharts rendering server that is used for exports doesn’t like the fact ssl is enabled on a page. This results in, horrible ‘this is insecure’ messages, and missing images when exporting a chart. Highcharts suggest here that a way to avoiding these issues is to, basically, build your own rendering engine … but I think this might be overkill.


So may I ask how I would remove ssl for the pages mentioned above. I know you like to see something I have tried but I have two problems.




  1. I think I may well, make some catastrophic mistake with this file and cause some real damage.




  2. I really don’t know where to start, as I seem to be understanding very little of what I read here on SO. For example, I did try the following based on this question.



    redirect 301 /firstpage.php http://ift.tt/1GdzCIk



May I ask SO for some pointers / help please ?


Aucun commentaire:

Enregistrer un commentaire