301 redirection editing .htaccess doesn’t work


I set up SSL certificate and submitted to the hosting service. It says it is connected to Port. I wanted to redirect http url to https, so I edited .htaccess file with a code as below in the root folder through FTP. But it doesn’t work. Can you give me an advice what to check to fix the problem? (my website address it https://tothealpha.com) Thanks!

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

, , 박프로 3 years 2020-03-29T04:50:56-05:00 0 Answers 106 views 0

Leave an answer