How to Force HTTPS with the .htaccess File

73 Views
Published
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.

Chapters:
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 - https://www.inmotionhosting.com/support/website/ssl/how-to-force-https-using-the-htaccess-file/

►The Complete Guide to cPanel's Free AutoSSL - https://www.inmotionhosting.com/support/website/ssl/auto-ssl-guide/

► How to Force HTTPS using .htaccess (article)
https://www.inmotionhosting.com/support/website/ssl/how-to-force-https-using-the-htaccess-file/

► How to Install Really Simple SSL
https://www.inmotionhosting.com/support/edu/wordpress/how-to-install-wp-really-simple-ssl-plugin/

►Video: How to View Hidden FIles in cPanel File Manager - https://www.youtube.com/watch?v=BO4I-79guig

►Viewing Hidden Files (htaccess) in cPanel's File Manager - https://www.inmotionhosting.com/support/edu/cpanel/show-hidden-files-in-file-manager/

►Video: How to Edit a File using the cPanel File Manager - https://www.youtube.com/watch?v=ArClengp1fA

►How to Edit a File on My Server - https://www.inmotionhosting.com/support/website/how-to-edit-a-file/

►cPanel Education Channel - https://www.inmotionhosting.com/support/edu/cpanel/

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:
https://www.inmotionhosting.com​​​

#HTTPS #SSL #HTACCESS
Category
InMotion Hosting
Be the first to comment