Automatically Redirecting Visitors to HTTPS

You'll need to either create or modify your hosting account's .htaccess file. If you need to create one, you can use your control panel's file manager

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  • 0 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

Reverse DNS / PTR

If you want to set up a reverse DNS (PTR record) on one or more of your IPs, please submit a...

Installed suiteCRM via softacalous in Cpanel

Errors:Strict Standards: Declaration of MyCallsDashlet::process() should be compatible with...

Do you support HTTP/2?

HTTP/2 is the next version of HTTP, the network protocol used by the World Wide Web. HTTP/2 is...

Comprehensive CIDR Cheatsheet: Subnet Masks, IP Ranges

Introduction: Navigating the world of subnetting and IP addressing can be a complex endeavour....