Do i need my own .htaccess http to https redirect?

Website URL: digitiger.free.nf
installed Google Trust sertificate, http and https both worked, but no automatic redirect.
then I put into .htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://digitiger.free.nf/$1 [R,L]
</IfModule>

this worked initially, redirected to https as needed.
THEN few hours later error, “certificate not installed”
not http nor https worked anymore
deleted my own .htaccess redirect rules, installed certificate again

  • and now redirect from http TO https is working fine, without my own rules… surprise.

was the error because I must not create my own redirect in .htaccess?

The IP your site is on, 185.27.134.108, appears to be down at the moment. Hopefully service will be restored shortly

5 Likes

Status: no SSL certificate was found.
AGAIN not working,
installed certificate, 2 hours worked excellent
and BOOM, again certificate missing.

Now its working again… how long this time? god knows…

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.