title: SSL-certificate; Green lock is sometimes not displaying
body: <p>I have a website that has an SSL-certificate. When I enter the homepage everything is correct and a green lock is displayed in the url, see my website <a href="https://www.feelhome.se/" rel="nofollow">here</a>.</p>
  
  <p>The issue is that this lock is not being displayed on some pages. <a href="https://s32.postimg.org/6sogr7f9x/stack.jpg" rel="nofollow">Here is an image of it.</a></p>
  
  <p>How can I assure that the green lock is being displayed on ALL pages on the website?</p>
  
  <p>I have noticed that when I insert the website that doesn't have the green look at first the look appears while the website is loading and after finished loading it disappears.</p>
  
  <p>EDIT 1, the code below is used to re-write all URLS with www to "https://". This one I have implemented into my .htacess-file.</p>
  
  <pre><code>RewriteEngine On
  
  # If not using www
  RewriteCond %{HTTP_HOST} !^www.(.*)$ [NC]
  RewriteCond %{HTTP:HTTPS} !on
  RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R,L]
  
  # If using www
  RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
  RewriteCond %{HTTP:HTTPS} !on
  RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
  </code></pre>