d7web
December 26, 2020, 11:44pm
#1
Hello
thanks for that great offer 000webhost hosting offering for free.
when I created my website, I noticed that there is no ssl certificate
is there is no longer free ssl?
if so
just wanted to know
how to add free forever ssl for my subdomain?
http://drjameslogan.000webhostapp.com/
and many thanks in advance.
Free subdomains come with SSL forever yes - https://drjameslogan.000webhostapp.com/
1 Like
d7web
December 27, 2020, 1:36pm
#3
thanks so much for letting me know, but when I just write the link
without http or https
it direct me to not secure.
what should I do?
and many thanks in advance.
Update your URL within database or wp-admin settings to reflect https://
A second method to updating your WordPress URL when you purchase a premium domain from Hostinger or park/point your own custom domain name.
Firstly head over to 000webhost.com and log in.
[image]
Once logged in hit
“Manage Database” at top
Then select “Manage”
[image]
Then phpMyAdmin in the drop down list on your WP database
[image]
You’ll see this open in a new tab/window usually
Now …
1 Like
Or use .htaccess lines to force HTTPS
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
1 Like
d7web
December 28, 2020, 12:10am
#7
thanks for the tips.
I followed the htaccess like on the screenshot
after change I got this:
Application error
An error occurred in the website and your page could not be displayed. If you are the website owner, check your logs for details
why that, please?
Try using the exact code pasted and no other lines to see what happens
1 Like
d7web
December 28, 2020, 1:31pm
#10
@Infinity
thanks so much for the help. it is solved now. I really appreciate.
1 Like
Glad to hear it is solved
1 Like