Open ssl | SSH vs HTTPS

Hi. I have a question
We are using ssl on our website. How can I force https for all pageviews?, for login pages and all other pages. at the moment it can only be seen in the root (url)of omeka-s
https://voremetur.uc3m.es/omeka/
If I configure https in all the pages in .htaccess, 404 appear and I not found to
You can help me please. Thank you and congratulations for your selfless work. greetings from Spain

Just add this in the beginning of your htaccess, just after RewriteEngine On or a similar thing directly in Apache config:

# Always redirect to https.
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

No need to change something else.

Hola Daniel, gracias por la respuesta.
Te explico, la configuración en principio del .htaccess es la correcta porque el ssl funciona, Apache hace lo que se le dice. Muestra https en todas las paginas, pero las paginas no se muestran. SOlo las muestra si lo dejo en http
POr ejemplo
https://voremetur.uc3m.es/omeka/s/voremetur
http://voremetur.uc3m.es/omeka/s/voremetur
http://voremetur.uc3m.es/omeka/s/aema
https://voremetur.uc3m.es/omeka/s/aema
No se me ocurre que hacer. Pensaba que había que configurar algo en la aplicación. Al menos en omeka classic tenia entendido que había un apartado de security donde tenías que configurar las rutas de ssl.
Gracias de nuevo.