ธันวาคม 14, 2017, 19:08:17
อ่าน 30327 ครั้ง
« เมื่อ: ธันวาคม 14, 2017, 19:08:17 »
ทำให้ลิ้งโดเมนเป็น SSL ด้วย .htaccess แบบง่ายๆ หลังจากที่เปิดใช้งาน SSL แล้ว

COPY โค้ดนี้ไปใส่ใน .htaccess อย่าลืมแก้ไขเป็นโดเมนของท่านด้วยละRewriteEngine On
RewriteCond %{HTTP_HOST} ^coolhostplus.net$ [NC]
RewriteRule ^(.*)$ https://www.coolhostplus.net/ $1 [L,R=301]
ลองทำดู
« แก้ไขครั้งสุดท้าย: ธันวาคม 14, 2017, 19:12:02 โดย CoolhostPlus »

บันทึกการเข้า