i do not know if this is the correct section to post this htaccess question.
when user type example.com on browser, it redirect to https://example.com .
and when user type www.example.com on browser, it redirect to https://example.com .
and when user type https://www.example.com on browser, it redirect to https://example.com .
and when user type http://example.com or http://www.example.com on browser, it redirect to https://example.com .
how to create htaccess for that?
regards,
silent lover