Login form on /wp-admin VS /wp-login.php
-
I’m setting up a new website, and it’s a basic cPanel environment. To keep things organized, I moved the primary domain into a subdirectory, and used some rewrite magic to run the website out of the subdirectory. Everything works (as far as I can tell), except one thing, and I’m wondering why.
Normally I don’t leave the login link on the website, and I just type /wp-admin into the address bar when I want to login, but when I do this the redirect_to param in both the address bar and hidden form field are incorrect, and I can’t get past the login screen.
So, for clarification, the website is installed at /public_html/domain.com, and the redirect_to attribute shows domain.com/domain.com/…
Yes, I have made sure the site_url and home values are correct. I’ve also searched the entire database for hints, but haven’t found anything.
I should probably mention that when I ran the WP installer it showed domain.com/domain.com as the site_url and home values, but changing them worked nicely.
This isn’t mission critical, but I’m curious as to what’s the problem. Any clues?
- The topic ‘Login form on /wp-admin VS /wp-login.php’ is closed to new replies.