I've bought and uploaded my SSL certificate, but my website is still "not unsecured"

Username (e.g. epiz_XXX) or Website URL

epiz_29999806

Error Message

I have bought an SSL certificate and pasted it in the box “certificate”, and then pressed “Upload Certificate”, but my website is still “Not secure”. Could you please help me fix it?

Other Information

This?

2 Likes

Yes, I’m sorry to bother you again. I have just created the file .htaccess in the folder “htdocs” and added the code lines to that file, and then press “save” and “close”, but my website is still “Not secure”. Could you please tell me what should I do next?

Could you please help me check if there is anything wrong?

If you pasted your certificate in the box, you press “Upload certificate” not upgrade. Try reading this article about how to force HTTPS:

Could you provide the website url so we can check?

1 Like

I’m sorry that was my typing errors. I meant I pressed the “Upload Certificate” button (no “Upgrade”); then I created the file .htaccess in the folder “htdocs” and then added the code below but my website is still not secure.
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

How about try this?

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https [OR]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
1 Like

You never mentioned about the private key? Perhaps, missed it?

Can you share you URL so we can check? Thanks

Yes, I’ve change the code lines in the file .htaccess in the folder “htdocs” to the code lines you gave me, but my website is still “Not secure.” Its url is learnforfree.net

Hmmm,strange is the .htaccess in learnforfree.net/htdocs ?

Yes, :joy: when I created the .htaccess in folder “htdocs”, it didn’t work, so I try creating another file .htaccess in “learnforfree.net/htdocs”. I will delete it right now

I’m sorry bothering you again, but now that I’ve deleted that overlapping .htaccess in “learnforfree.net/htdocs”, my website is still “Not secure”. Could you please teach me how to fix it?

I guarantee you all my Private key, CRS key, and Certificate key are all submited sucessfully. The system has stored them without any errors, but my website is still “Not secsure”

if you go to https://learnforfree.net/ you can see that it is secure just need to put https in front. Your ssl is working correctly you are just not redirecting your http to https. To do that you can use a plugin or follow this tutorial https://www.youtube.com/watch?v=lQsmXS3hKsk.

1 Like

Fine for me,


Try @Nadora’s solution of putting https in front of the url (Firefox does that automatically).

3 Likes

Yes. I’ve changed the codes of .htaccess into the one shared by @Nadora, but in the current time my website is still not redirected to https, maybe it would take some days to take effects. Thank you @Greenreader9, @KangJL , @Nadora, @Wackyblackie, @jaikrishna.t . I really appreciate all your precious instruction.

2 Likes

Correct. .htaccess changes will not take effect until the cache period has ended, generally around 72 hours. You can speed up the process by clearing your cache in your browser.

Yes, I’m so happy it has worked now. a moment ago I accidentally uninstalled and reinstalled Wordpress ; then the wizard required me to deleted the .htaccess in the folder htdocs so that it could create another .htaccess in the folder “[domain]/htdocs”. Then I pasted the codes into that .htaccess file, and now the site has redirected sucessfully to https. Thank you so much for all your help :heart: :orange_heart: :green_heart:! it would’ve taken me forever without your instructions.

4 Likes

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