wp-admin redirecting to the https wordpress
Open your WordPress website's root directory using an FTP client or file manager.
Locate the wp-config.php file and edit it.
Find the line that says "/ That's all, stop editing! Happy blogging. /" and add the following code just above it:
define('FORCE_SSL_ADMIN', true);
Save the changes to the wp-config.php file.
Now, open your WordPress dashboard.
Go to Settings -> General.
In the WordPress Address (URL) and Site Address (URL) fields, make sure that they start with "https://" instead of "http://".
Scroll down and click on the Save Changes button.
Finally, log out of your WordPress dashboard and log back in. Your wp-admin should now redirect to the HTTPS version of your website.