my .htaccess was empty.
i put the code that was specified in your links and replaced domain.com with my real domain.
for now i've found a working solution:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
i'm not sure if this is correct but it gets the job done, it points all my non https with or without www to ssl with www.