Creating a 301 redirect for http to https
I have installed letsencrypt certificate. Now I want to redirect my site from http to https.
Using cPanel I have already created many redirects but not from http to https.
So, is it possible to do that through cPanel?
-
Hello @Mrinmoy, You can manually add an entry to the .htaccess file in the public_html directory like the one referenced on the post below: Thank you. 0 -
Hello @Mrinmoy, So, I have to add this code in my .htaccess file and that's it?
Yes, that's correct. Note that in cPanel & WHM version 80 (not yet available), we're adding a new feature that will allow you to force HTTPS directly from cPanel. Thank you.0 -
Hello @Mrinmoy, Yes, that's correct. Note that in cPanel & WHM version 80 (not yet available), we're adding a new feature that will allow you to force HTTPS directly from cPanel. Thank you.
I am really looking forward that cPanel will add this feature as a default. Till then this code has to do.:P0 -
Hello. Recently I set SSL-certificate from CPanel. I have one domain domain.ru. It opens on http, www and https - not redirect as early. If I fix in CPanel (section Domain - Domains- Force HTTPS Redirect) that all my changes are not saved, not published in the root directory. Support of DominantTelecom (russian support) not answer and help. They answered not check the mark forcibly (for publish on site builder). What I need do that do all right and my domain from http and www will redirect to https and site bilder will publish on right folder on server& Thanks. Irina 0 -
If I use function "Force HTTPS Redirect" or add note to the .htaccess file in the public_html directory - all my notes and changes are not saving in the " Site Builder@ (2004-2008 Parallels) and I see message "You cannot publish the site to the specified publishing location" (location: ftp://nevavi@sub.domainremoved.net/public html. Your site is available at ) What I need to do have right redirect from http and www to https and right publishing directory? Thank you and wait soon answer/ 0
Please sign in to leave a comment.
Comments
6 comments