Jump to content

SSL padlock: loads manually, not without https prefix


Recommended Posts

I have a small secure web app that loads with the security padlock at the beginning of url if I enter https://, but it loads exclamation if I don't prefix the url.  How can I associate my ssl certificate without having to type the prefix?  Here's the certified page: https://nowbypound.live.  Here the same page that doesn't return my certificate: nowbypound.live.

Link to post
Share on other sites
17 hours ago, Bartholomew Jones said:

I have a small secure web app that loads with the security padlock at the beginning of url if I enter https://, but it loads exclamation if I don't prefix the url.  How can I associate my ssl certificate without having to type the prefix?  Here's the certified page: https://nowbypound.live. Here the same page that doesn't return my certificate: nowbypound.live.

You can enforce HTTPS by using .htaccess.

Quote

 

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...