울라프

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

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

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,853
MySQL 23-07-02 조회 2,307
JavaScript 23-07-01 조회 1,942
PHP 23-06-30 조회 2,958
MySQL 23-06-29 조회 7,761
node.js 23-06-28 조회 1,979
node.js 23-06-27 조회 1,523
PHP 23-06-26 조회 1,749
PHP 23-06-25 조회 1,782
PHP 23-06-24 조회 1,255
PHP 23-06-22 조회 1,555
PHP 23-06-20 조회 1,649
기타 23-06-19 조회 1,917
23-06-17 조회 1,290
기타 23-06-18 조회 2,358
PHP 23-06-17 조회 1,642
JavaScript 23-06-16 조회 2,344
PHP 23-06-15 조회 2,016
23-05-16 조회 1,228
기타 23-06-13 조회 1,738
PHP 23-06-05 조회 1,740
PHP 23-05-28 조회 2,067
기타 23-05-23 조회 2,395
PHP 23-05-19 조회 1,936
PHP 23-05-18 조회 2,029
PHP 23-05-08 조회 2,054
JavaScript 23-04-10 조회 1,741
MySQL 23-04-08 조회 1,990
MySQL 23-03-15 조회 1,999
PHP 23-03-14 조회 2,418