울라프

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

· 2년 전 · 913

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년 전 조회 840
기타 2년 전 조회 1,071
MySQL 2년 전 조회 1,805
JavaScript 2년 전 조회 1,422
PHP 2년 전 조회 2,357
MySQL 2년 전 조회 6,991
node.js 2년 전 조회 1,431
node.js 2년 전 조회 1,102
PHP 2년 전 조회 1,329
PHP 2년 전 조회 1,325
PHP 2년 전 조회 865
PHP 2년 전 조회 1,156
PHP 2년 전 조회 1,120
기타 2년 전 조회 1,406
2년 전 조회 914
기타 2년 전 조회 1,906
PHP 2년 전 조회 1,171
JavaScript 2년 전 조회 1,915
PHP 2년 전 조회 1,562
2년 전 조회 840
기타 2년 전 조회 1,211
PHP 2년 전 조회 1,339
PHP 2년 전 조회 1,631
기타 2년 전 조회 1,948
PHP 2년 전 조회 1,421
PHP 2년 전 조회 1,577
PHP 2년 전 조회 1,568
JavaScript 2년 전 조회 1,328
MySQL 2년 전 조회 1,547
MySQL 3년 전 조회 1,619