To Redirect http to https using .htaccess file

Method 1.

How to redirect HTTP to https using a .htaccess file
step 1:

Login into ur cpanel and flow

step 2:

public_html —–>.htaccess ——> code editor click —–> edit

step 3: .htaccess file click

Method 2.

precise routing for WordPress sites


Method 3.


A word from the WordPress menu, the general tab in the HTTP is converted to https.