How to Force HTTPS with the .htaccess File

Part of SEO optimization is making sure that visitors to your site have a secure connection. Use your site’s .htaccess file to force all visitors to visit with a secure HTTPS connection.

00:00 Introduction to forcing HTTPS using the .htaccess file
00:25 SSL Prerequisites
00:37 Getting to File Manager
00:43 Locating the File
01:43 Viewing the File
01:48 Editing your File
02:03 Code for Redirect
02:36 Testing the Code
03:14 Conclusion

Related Articles:

► Learn more in our full article – Force HTTPS with the .htaccess File –

►The Complete Guide to cPanel’s Free AutoSSL –

► How to Force HTTPS using .htaccess (article)

► How to Install Really Simple SSL

►Video: How to View Hidden FIles in cPanel File Manager –

►Viewing Hidden Files (htaccess) in cPanel’s File Manager –

►Video: How to Edit a File using the cPanel File Manager –

►How to Edit a File on My Server –

►cPanel Education Channel –

InMotion Hosting was founded in 2001 and provides personal and business web hosting for everyone! For more information about InMotion Hosting and the services we provide see here:​​​


You May Also Like

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!