울라프

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

· 2023-06-17 (토) 16:45:54 · 1269

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>

|
댓글을 작성하시려면 로그인이 필요합니다.

개발자팁

5,403건

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
기타 23-07-03 조회 1,826
MySQL 23-07-02 조회 2,286
JavaScript 23-07-01 조회 1,925
PHP 23-06-30 조회 2,922
MySQL 23-06-29 조회 7,740
node.js 23-06-28 조회 1,964
node.js 23-06-27 조회 1,507
PHP 23-06-26 조회 1,731
PHP 23-06-25 조회 1,769
PHP 23-06-24 조회 1,241
PHP 23-06-22 조회 1,535
PHP 23-06-20 조회 1,633
기타 23-06-19 조회 1,896
23-06-17 조회 1,270
기타 23-06-18 조회 2,339
PHP 23-06-17 조회 1,624
JavaScript 23-06-16 조회 2,325
PHP 23-06-15 조회 2,002
23-05-16 조회 1,208
기타 23-06-13 조회 1,641
PHP 23-06-05 조회 1,723
PHP 23-05-28 조회 2,049
기타 23-05-23 조회 2,383
PHP 23-05-19 조회 1,847
PHP 23-05-18 조회 2,007
PHP 23-05-08 조회 2,036
JavaScript 23-04-10 조회 1,731
MySQL 23-04-08 조회 1,963
MySQL 23-03-15 조회 1,980
PHP 23-03-14 조회 2,372