How to Force HTTPS Redirect | Manually Force HTTPS Redirect in cPanel

preview_player
Показать описание
Seeing your website come up as “not secure” can be one of the most frustrating things when you’re first starting out. Not only does it provide for a potentially insecure user experience, but it also has negative impacts on SEO. But don’t worry. Following these steps can get your URL automatically redirecting to HTTPS to ensure safe browsing.

Use this command in your .htaccess file:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80

SEMdeck is a web hosting, design, and digital marketing agency dedicated to equipping young brands with the right tools to succeed in the digital age. For a quote on your next web project, please visit us:
Рекомендации по теме