I do not have any SSL problems. Just the redirect problem. I have already updated the site URL in the settings. But HTTP and HTTPS both are working. I want to redirect to HTTPS without using any plugin or modification.
On my other website just updating the Site URL works and WordPress automatically redirects the http to https.
But I think a glitch has occurred which is not allowing the WordPress to perform the redirect,