울라프

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

· 2년 전 · 895

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년 전 조회 825
기타 2년 전 조회 1,059
MySQL 2년 전 조회 1,794
JavaScript 2년 전 조회 1,405
PHP 2년 전 조회 2,342
MySQL 2년 전 조회 6,970
node.js 2년 전 조회 1,417
node.js 2년 전 조회 1,091
PHP 2년 전 조회 1,312
PHP 2년 전 조회 1,303
PHP 2년 전 조회 846
PHP 2년 전 조회 1,141
PHP 2년 전 조회 1,100
기타 2년 전 조회 1,390
2년 전 조회 896
기타 2년 전 조회 1,889
PHP 2년 전 조회 1,161
JavaScript 2년 전 조회 1,898
PHP 2년 전 조회 1,548
2년 전 조회 823
기타 2년 전 조회 1,198
PHP 2년 전 조회 1,328
PHP 2년 전 조회 1,624
기타 2년 전 조회 1,939
PHP 2년 전 조회 1,406
PHP 2년 전 조회 1,566
PHP 2년 전 조회 1,556
JavaScript 2년 전 조회 1,316
MySQL 2년 전 조회 1,535
MySQL 2년 전 조회 1,606