I just added an SSL certificate to my Wordpress website using this code (.htaccess):
# REDIRECT HTTP TO HTTPS RewriteCond %{HTTPS} !=on RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
However, when I type monersi.pl/something in browser, the certificate doesn't work, but when I type monersi.pl, everything is okay. (monersi.pl is my website)
What did I do wrong?