Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hey everyone, I recently have moved to HTTPS version from HTTP. But since then, I am into trouble and problem is not solved. So, my query is, How to redirect user to HTTPS version of site regardless whatever he types. For ex., Let me explain:-
example.com —>>> `https:// www.example.com/
www.example.com —>>> https:// www.example.com/
https:// example.com —>>> https:// www.example.com/
Moreover, If in future I make my mind to move site to https:// example.com instead of https:// www.example.com, then what will be the code for this? Let me give example for this too.
example.com —>>> https:// example.com/
www.example.com —>>> https:// example.com/
https:// www.example.com —>>> https:// example.com/
I have seen that if a user types https:// example.com and I want it to redirect to https:// www.example.com/ then browser give warning about its security before redirecting. Hence, asks for users confirmation. This is bad thing and can destroy site owner image. This should not happen. :D
Please suggest .htaccess code for both types separately. For info, using Apache Web Server. :D
gerard
Jon Harris
orbitstorm88
rem3n
yolanda smith
301276acdc124dd982fe86364ba8c4
30ddab6038c044188d489290785dcb
699c9bc0a2c34f248e792cb8d2c6ab
Kent Morlan
sylvaticus
agitechcr
8b8f3c8ea96345bf8ddb0a59a008e2