I need help with the SSL Lock

I already put the SSL codes on the site and it was accepted, but I still don’t have the lock, but when I go to the admin url, the lock appears, what did I do wrong?

Help me please

My url is http://umtresjornal.ml

If you go to https://umtresjornal.ml/, it works. Search how to redirect your website to HTTPS and you’ll find how to make it secure when you go to umtresjornal.ml. Hope this helped!

4 Likes

Thank you!

How i make that?

Go to your .htaccess file, and insert these lines of code

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
1 Like

Sorry for that question, but how i can acess the “.htacess” ?

Open File Manager, go to /htdocs/.htaccess

1 Like

Thanks, and how i insert the code?

Just copy-paste the code to your .htaccess file, replacing www.yourdomain.com with umtresjornal.ml

1 Like

##################################################

DO NOT EDIT THIS FILE DIRECTLY

Create a new .htaccess file in your htdocs

directory (or example.com/htdocs/ directory)

to add your own rules or override these rules.

##################################################

DirectoryIndex index.php index.html index.htm index2.html

ErrorDocument 400 https://infinityfree.net/errors/400/

This is my .hactess file (???) why?

@umtres I mean, .htaccess file in that path

7 Likes

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