How to 301 redirect http to https or Domain in cPanel । SSL Redirect Bangla tutorial । HostSeba

This video tutorial i will show you how to 301 redirect http to https or Domain in cPanel. Simple to follow, we take you through the simple steps of redirect http to https or Domain in cPanel HostSeba Hosting Account.

Redirect .htaccess code.

RewriteEngine On
RewriteCond %{SERVER_PORT} !=443 [OR]
RewriteCond %{HTTP_HOST} !^www.
RewriteCond %{REQUEST_URI} !^/[0-9]+..+.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R=301,L]