울라프

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

· 2년 전 · 711

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에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
PHP 2년 전 조회 695
기타 2년 전 조회 853
MySQL 2년 전 조회 1,623
JavaScript 2년 전 조회 1,245
PHP 2년 전 조회 2,173
MySQL 2년 전 조회 6,745
node.js 2년 전 조회 1,249
node.js 2년 전 조회 923
PHP 2년 전 조회 1,139
PHP 2년 전 조회 1,138
PHP 2년 전 조회 676
PHP 2년 전 조회 978
PHP 2년 전 조회 923
기타 2년 전 조회 1,212
2년 전 조회 712
기타 2년 전 조회 1,705
PHP 2년 전 조회 977
JavaScript 2년 전 조회 1,719
PHP 2년 전 조회 1,365
2년 전 조회 663
기타 2년 전 조회 1,008
PHP 2년 전 조회 1,143
PHP 2년 전 조회 1,415
기타 2년 전 조회 1,770
PHP 2년 전 조회 1,213
PHP 2년 전 조회 1,383
PHP 2년 전 조회 1,367
JavaScript 2년 전 조회 1,135
MySQL 2년 전 조회 1,355
MySQL 2년 전 조회 1,419