Code:
<h3><Actinic:Variable Name="PrivacyPolicyLabel"/></h3> <div class="terms-conds"><Actinic:Variable Name="PrivacyPolicy"/></div>
Code:
<!-- <Actinic:Variable Name="PrivacyPolicy"/> -->
<h3><Actinic:Variable Name="PrivacyPolicyLabel"/></h3> <div class="terms-conds"><Actinic:Variable Name="PrivacyPolicy"/></div>
<!-- <Actinic:Variable Name="PrivacyPolicy"/> -->
## Write all pages to https: uncomment if wanted #RewriteEngine On #RewriteCond %{HTTPS} off #RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] ##OR #RewriteEngine On #RewriteCond %{HTTPS} !=on #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ## OR ## #RewriteEngine On #RewriteCond %{SERVER_PORT} 80 #RewriteRule ^(.*)$ https://www.example.com/$1 [R,L] ## OR ## # Forcing HTTPS RewriteCond %{HTTPS} !=on # Pages to Apply RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] #EDIT: ***** Please note – if you’re on a Heart Internet server OR Easyspace and 123 apparently, you will need to use: ************ # All calls go to SSL #RewriteEngine On #RewriteCond %{ENV:HTTPS} !=on #RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
<style> #asterix_cookie_widget .cookie-container { margin: 0 auto; overflow: hidden; padding: 6px 0; width: 100%!Important; } #asterix_cookie_accept { font-weight: bold; cursor: pointer; text-decoration: underline; color:blue; } #asterix_cookie_accept:hover { color:red;; } </style>
<!-- Cookie Banner --> <actinic:block if="%3cactinic%3avariable%20name%3d%22IsNotPreviewMode%22%20%2f%3e"> <div id="asterix_cookie_widget" style="display: inline; text-align: center; font-size: 13px; color:#313131;line-height: 140%; position: fixed; bottom: 0; right: 0; margin: 0; padding: 3px; background:#c0c0c0; border-top: 1px solid #000066; z-index: 100000; opacity: 0.9; filter: alpha(opacity=9);width:100%;"> <div class="cookie-container" style="text-align:center;"> <span>This site uses cookies to make it work and to collect analytics data. <a href="info.html">Find out more.</a></span> - <span id="asterix_cookie_accept" onclick="asterix_cookie_accept();return false;">OK - Carry on!</span><span id="asterix_cookie_wait" style="vertical-align: middle;" onclick="clearTimeout(asterix_cookie_timer);return false;">Please Wait</span> </div> </div> <script type="text/javascript"> //<![CDATA[ var asterix_cookie_timeout = 0; var asterix_cookie_functions = []; var asterix_cookie_widget = document.getElementById('asterix_cookie_widget'); var results = document.cookie.match('(^|;) ?asterix_cookie_widget=([^;]*)(;|$)'); if (results) { if (1 == unescape(results[2])) { asterix_cookie_accept(); } } else { window.onload = function () { for (var i = 0; i < document.links.length; i++) { var link_href = document.links[i].getAttribute('href'); if ('privacy' != document.links[i].getAttribute('rel') && (!/^[\w]+:/.test(link_href) || (new RegExp('^[\\w]+://[\\w\\d\\-\\.]*' + window.location.host)).test(link_href))) { var current_onclick = document.links[i].onclick; document.links[i].onclick = function () { asterix_cookie_accept(); if (Object.prototype.toString.call(current_onclick) == '[object Function]') { current_onclick(); } }; } } }; } var asterix_cookie_timer; if (asterix_cookie_timeout > 0) { asterix_cookie_timer = setTimeout('asterix_cookie_tick()', 1000); } else { var asterix_cookie_wait = document.getElementById('asterix_cookie_wait'); if (null != asterix_cookie_wait) { asterix_cookie_wait.parentNode.removeChild(asterix_cookie_wait); } } function asterix_cookie_tick() { if (0 >= --asterix_cookie_timeout) { asterix_cookie_accept(); return; } var asterix_cookie_accept_button = document.getElementById('asterix_cookie_accept'); if (null != asterix_cookie_accept_button) { asterix_cookie_accept_button.innerHTML = 'Yes (' + asterix_cookie_timeout + ')'; asterix_cookie_timer = setTimeout('asterix_cookie_tick()', 1000); } } function asterix_cookie_accept() { clearTimeout(asterix_cookie_timer); document.cookie = 'asterix_cookie_widget=1; path=/; expires=Mon, 18 Jan 2038 03:14:00 GMT'; asterix_cookie_widget.parentNode.removeChild(asterix_cookie_widget); for (var i = 0; i < asterix_cookie_functions.length; i++) { asterix_cookie_functions[i](); } } //]]> </script> </actinic:block> <!-- End Cookie Banner -->
Leave a comment: