some url does not redirect from http to https

Your code redirects the WordPress admin pages to use https (which will work fine), and then sets the site and WordPress addresses (which may auto redirect some pages). Note that FORCE_SSL_LOGIN was deprecated in WordPress version 4.0 (https://codex.wordpress.org/Administration_Over_SSL)

You can force the whole site to use SSL using .htaccess (note to cover WordPress installs to their own directory, it should be the .htaccess in the same server directory that the Site home would use).

Usually that would be:

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*)$ https://www.example.com/$1 [L,R=301,NC]
</IfModule>

but some hosts require an environment variable:

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{ENV:HTTPS} !=on
    RewriteRule ^(.*)$ https://www.example.com/$1 [L,R=301,NC]
</IfModule>

If you’re using Windows hosting .htaccess won’t work, you’ll need to use web.config

<rule name="HTTPS" patternSyntax="Wildcard" stopProcessing="true">
    <match url="*" />
    <conditions>
        <add input="{HTTPS}" pattern="off" />
    </conditions>
    <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Found" />
</rule>

Related Considerations

I’d recommend you change all links under your control to use https. Within WordPress the https://en-gb.wordpress.org/plugins/velvet-blues-update-urls/ is very handy for this.

You should consider changing the WordPress URL and the Site URL in the admin instead, and take a look at this good overall guide to migrating WordPress to use https https://reviewofweb.com/how-to/migrate-wordpress-from-http-to-https/