To redirect all the pages on your site from http to https, simply add the following code to the .htaccess file in the document root of your site:
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Hope this helps!