When you activate an SSL certificate.
you need to redirect the URL automatic HTTP to https. many times we feel the problem, not redirect the URL https automatic, suppose we go to “demosite.com” and output “http://demosite.com” this is the problem. please follow the steps, how to solve it.
1. first go to your cpanel, and login your account.
2. now find file manager and click file-manager.
3. now click public-HTML.
4. now click settings, on the top file-manager.
5. now click Show Hidden files, and click save.
6. now find .htaccess files on your, public-html folder.
7. now click .htaccess and click edit.
8. Now not change anything, just adding, the following code Below:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
9. now click save the change.
successfully Redirect your site URL HTTP to https
4 thoughts on - how to redirect ssl http to https
hey plz, tell me can do this process without an SSL certificate
No sir, you need an SSL certificate to redirect your website URL https
Thank You
now working
Thank You Sir