Your can redirect all http (Non-secure) URL to https by using following code in .htaccess file.
RewriteEngine on
Options +FollowSymLinks
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
Copyright © 2023 Kaizen Software Solutions. All rights reserved.