I have several sites now that redirect the wp-admin page like this:
This started happening when I moved the sites from one hosting account to another on the same provider. I’ve moved sites in the past, using backupbuddy to back up from my dev server and then move them to their final resting place and they don’t have this issue. I moved these the same way. But I also have another site that I didn’t move, didn’t touch it, and it also started doing it.
I realize I can login at wp-login.php, and when I do, I get into the dashboard just fine. The problem is, I have monitoring software that syncs with my sites, and now it is failing. It cannot communicate with the site, because it needs to confirm the site at wp-admin with the proper credentials. If it redirects, it thinks there is a problem and throws an error. Also, I just don’t want anyone seeing their domain as the subdomain.myhostingdomain.com in the URL if they are in the admin panel.
On the host, the hierarchy looks like this:
Client domain is assigned to the subdirectory, so it is as though it is at root. On other sites, and on these sites before, I have/had ‘Wordress Address’ and ‘Site Address’ as http://clientdomain.com in General Setting and it was working fine. .htaccess hasn’t changed, since all that happened was it moved from one hosting account to another, same provider, same directory structure, etc.
I’ve searched the internet and see a few posts, but no solution, and not really the same reason.
Any ideas as to why it is redirecting? Nothing in functions file, nothing in .htaccess that I can see that would cause it.
A site for reference, and one that I have enabled support access to is captionsunlimited.com