울라프

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

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

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,802
MySQL 23-07-02 조회 2,267
JavaScript 23-07-01 조회 1,911
PHP 23-06-30 조회 2,905
MySQL 23-06-29 조회 7,660
node.js 23-06-28 조회 1,931
node.js 23-06-27 조회 1,486
PHP 23-06-26 조회 1,714
PHP 23-06-25 조회 1,748
PHP 23-06-24 조회 1,221
PHP 23-06-22 조회 1,511
PHP 23-06-20 조회 1,609
기타 23-06-19 조회 1,873
23-06-17 조회 1,254
기타 23-06-18 조회 2,315
PHP 23-06-17 조회 1,611
JavaScript 23-06-16 조회 2,310
PHP 23-06-15 조회 1,982
23-05-16 조회 1,189
기타 23-06-13 조회 1,620
PHP 23-06-05 조회 1,708
PHP 23-05-28 조회 2,023
기타 23-05-23 조회 2,361
PHP 23-05-19 조회 1,831
PHP 23-05-18 조회 1,975
PHP 23-05-08 조회 2,021
JavaScript 23-04-10 조회 1,716
MySQL 23-04-08 조회 1,939
MySQL 23-03-15 조회 1,959
PHP 23-03-14 조회 2,351