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

Published: 15 November 2022
on channel: SEMdeck
271
3

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:

Replace 'www.example.com' with your domain name
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://example.com//$1 [R=301,L]

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:
https://semdeck.com


On this page of the site you can watch the video online How to Force HTTPS Redirect | Manually Force HTTPS Redirect in cPanel with a duration of hours minute second in good quality, which was uploaded by the user SEMdeck 15 November 2022, share the link with friends and acquaintances, this video has already been watched 271 times on youtube and it was liked by 3 viewers. Enjoy your viewing!