Forum Moderators: phranque
if a user opens example.com would there be 2 redirects then? One to www and other to SSL url?Only if the site's redirects are ineptly coded. Both should be part of the same redirect, with two [OR]-delimited conditions, assuming you're doing it with a RewriteRule. If the user requests the wrong form of the domain name, and/or they use the wrong protocol, they should be correctly redirected in one fell swoop.
so two redirects are fine
make sure the redirect to www.example.com specifies the https: schema (protocol).
look for RewriteRule directives in your .htaccess file.