Redirecting to HTTPS causes an error, Google should be indexing the HTTP version. How can I enforce that? I have no forms or logins on my website, I have no SSL certificate.

For example: Searching for paul and martin consultancy in Google returns the home page (second result) with an https:// protocol:

Google search returns HTTPS in link

And clicking this link naturally results in the following browser error:

Your connection is not private browser warning

I am using this .htaccess:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
  • It works just fine for me: imgur.com/a/RCfVt If it's not for you, then you have something hijacking on your browser or the DNS cache needs refreshing. – Simon Hayter Jan 18 '18 at 12:33
  • And I tested with www., without www and even using site:. My advice... clear your DNS in browser, in the operating system and your router. – Simon Hayter Jan 18 '18 at 12:36
  • @SimonHayter "works just fine" - But you're not following the example stated by the OP. I'm able to reproduce the same results (added screenshot to the question). And a site: search (without www) also produces similar results. This has nothing to do with DNS. – DocRoot Jan 18 '18 at 16:12
  • 1
    It is probably easier at this point to just add the certificate and make it work. You should go SSL anyway and the URL is seemingly out there in the wild already. – StephenCollins Jan 18 '18 at 18:59