울라프

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

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

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,806
MySQL 23-07-02 조회 2,268
JavaScript 23-07-01 조회 1,912
PHP 23-06-30 조회 2,905
MySQL 23-06-29 조회 7,661
node.js 23-06-28 조회 1,931
node.js 23-06-27 조회 1,490
PHP 23-06-26 조회 1,715
PHP 23-06-25 조회 1,749
PHP 23-06-24 조회 1,222
PHP 23-06-22 조회 1,513
PHP 23-06-20 조회 1,609
기타 23-06-19 조회 1,874
23-06-17 조회 1,255
기타 23-06-18 조회 2,318
PHP 23-06-17 조회 1,612
JavaScript 23-06-16 조회 2,311
PHP 23-06-15 조회 1,984
23-05-16 조회 1,190
기타 23-06-13 조회 1,622
PHP 23-06-05 조회 1,708
PHP 23-05-28 조회 2,024
기타 23-05-23 조회 2,362
PHP 23-05-19 조회 1,832
PHP 23-05-18 조회 1,977
PHP 23-05-08 조회 2,021
JavaScript 23-04-10 조회 1,716
MySQL 23-04-08 조회 1,941
MySQL 23-03-15 조회 1,960
PHP 23-03-14 조회 2,352