울라프

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

· 2년 전 · 855

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년 전 조회 789
기타 2년 전 조회 1,017
MySQL 2년 전 조회 1,750
JavaScript 2년 전 조회 1,374
PHP 2년 전 조회 2,305
MySQL 2년 전 조회 6,919
node.js 2년 전 조회 1,383
node.js 2년 전 조회 1,055
PHP 2년 전 조회 1,268
PHP 2년 전 조회 1,274
PHP 2년 전 조회 814
PHP 2년 전 조회 1,108
PHP 2년 전 조회 1,052
기타 2년 전 조회 1,353
2년 전 조회 856
기타 2년 전 조회 1,847
PHP 2년 전 조회 1,113
JavaScript 2년 전 조회 1,853
PHP 2년 전 조회 1,503
2년 전 조회 789
기타 2년 전 조회 1,151
PHP 2년 전 조회 1,282
PHP 2년 전 조회 1,573
기타 2년 전 조회 1,906
PHP 2년 전 조회 1,371
PHP 2년 전 조회 1,529
PHP 2년 전 조회 1,516
JavaScript 2년 전 조회 1,273
MySQL 2년 전 조회 1,495
MySQL 2년 전 조회 1,555