title: How to redirect HTTP traffic to HTTPS using an .htaccess file in WordPress
body: <p>I need to redirect my WordPress site to HTTP to HTTPS through .htaccess file.
  (e.g. <a href="http://www.example.com" rel="nofollow noreferrer">http://www.example.com</a>) to (e.g. <a href="https://www.example.com" rel="nofollow noreferrer">https://www.example.com</a>)
  Please help me out to do that.</p>