How to Redirect the Website from HTTP to HTTPS?

Step-1 You have to go public folder in your project.or follow this pic

Step-2 Open public folder then you have to open the .htaccess file in notepad or any code editor. see the pic

Step-3 .htaccess open in notepad then add this some code in the last line

Step-4 Copy this code and paste it to your .htaccess file