I finally got a fix on my problem.
Mine was a new install into a sub-directory and then I couldn’t log-in the same as everybody above.
What i did, I got the new URL pointed at the right sub-directory without any redirects in place.
Then I went into cPanel/file manager to the functions.php file located at here wp-content/themes/default/functions.php
Then Edit this file at the very top of the functions.php file on the next line after the <?php
add these two pieces of code:
update_option(‘siteurl’,’https://your-new-domain.com/’);
update_option(‘home’,’https://your-new-domain.com/’);
Then go and log-in to the blog admin a couple times.
like at the new address: /wp-login.php
Then go and remove the two pieces of code listed above from the functions.php file .
This was just for a new wp-install but I’ve done this on a couple that i was having the same trouble as above and that fixed it.
Cheers