울라프

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

· 2년 전 · 915

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년 전 조회 841
기타 2년 전 조회 1,071
MySQL 2년 전 조회 1,805
JavaScript 2년 전 조회 1,422
PHP 2년 전 조회 2,357
MySQL 2년 전 조회 6,992
node.js 2년 전 조회 1,431
node.js 2년 전 조회 1,102
PHP 2년 전 조회 1,330
PHP 2년 전 조회 1,325
PHP 2년 전 조회 866
PHP 2년 전 조회 1,158
PHP 2년 전 조회 1,120
기타 2년 전 조회 1,408
2년 전 조회 916
기타 2년 전 조회 1,907
PHP 2년 전 조회 1,171
JavaScript 2년 전 조회 1,915
PHP 2년 전 조회 1,562
2년 전 조회 840
기타 2년 전 조회 1,212
PHP 2년 전 조회 1,340
PHP 2년 전 조회 1,631
기타 2년 전 조회 1,948
PHP 2년 전 조회 1,421
PHP 2년 전 조회 1,578
PHP 2년 전 조회 1,568
JavaScript 2년 전 조회 1,329
MySQL 2년 전 조회 1,547
MySQL 3년 전 조회 1,619