My webserver is not forcing the use of SSL- why?

[ad_1]

I entered my site in the [whynopadlock.com](http://whynopadlock.com) and that is what it said. It says redirect to ensure a secure connection is used.

When I google my site name it shows http. When I google my site name and .com it shows https. The hosting company told me I have SSL but it sometimes shows http.

Should I edit the code somewhere or use the really simple SSL plugin?

Anyone had this happen? I just don’t want to mess with the code and then something stops working

[ad_2]
1 Comment
  1. Setup a redirect rule in htaccess to force https

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer