울라프

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

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

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,801
MySQL 23-07-02 조회 2,262
JavaScript 23-07-01 조회 1,911
PHP 23-06-30 조회 2,901
MySQL 23-06-29 조회 7,656
node.js 23-06-28 조회 1,929
node.js 23-06-27 조회 1,484
PHP 23-06-26 조회 1,714
PHP 23-06-25 조회 1,746
PHP 23-06-24 조회 1,220
PHP 23-06-22 조회 1,511
PHP 23-06-20 조회 1,607
기타 23-06-19 조회 1,872
23-06-17 조회 1,252
기타 23-06-18 조회 2,315
PHP 23-06-17 조회 1,610
JavaScript 23-06-16 조회 2,307
PHP 23-06-15 조회 1,981
23-05-16 조회 1,188
기타 23-06-13 조회 1,618
PHP 23-06-05 조회 1,707
PHP 23-05-28 조회 2,022
기타 23-05-23 조회 2,359
PHP 23-05-19 조회 1,830
PHP 23-05-18 조회 1,974
PHP 23-05-08 조회 2,019
JavaScript 23-04-10 조회 1,713
MySQL 23-04-08 조회 1,939
MySQL 23-03-15 조회 1,954
PHP 23-03-14 조회 2,351