테스트 사이트 - 개발 중인 베타 버전입니다

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

· 2년 전 · 568

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>

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시판 목록

개발자팁

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