Season2 // How To Force SSL On All Pages In .htaccess File > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

Season2 // How To Force SSL On All Pages In .htaccess File 정보

Season2 // How To Force SSL On All Pages In .htaccess File

본문

How To Force SSL On All Pages In .htaccess File

 

You can force all of your pages to use HTTPS. To do this, you will need to modify your .htaccess file.

Using the Code Editor in the File Manager, add these lines to the beginning of the .htaccess file.

<code>
RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

</code>

추천
0
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로