Support » Fixing WordPress » Can't login to admin…get 404 page

Viewing 4 replies - 1 through 4 (of 4 total)
  • Timothy Jacobs

    (@timothyblynjacobs)

    For reference the login page is wp-login.php, that would explain your 404 error on your other sites, but not what is going on with this website. Do you have any plugins installed?

    There’s a “403 forbidden” error on the wp-login.php file. You can see it in your server responses when using /wp-login.php, and in the redirect from /wp-admin. Check the files permissions maybe?

    [edit] This is odd. I’m also seeing this:

    http://www.portstjoehomes.com/wp-login.php 301 Moved Permanently (BFCache) - and the redirect going to http://www.portstjoehomes.com/wp-login.php/ – it looks like your site is trying to treat “wp-login.php” as a directory, when it should actually be a file. I’m not quite sure what I’m seeing there.

    Thread Starter mikewvu

    (@mikewvu)

    I appreciate your help but entering wp-login works just fine. The .php fills in and I’ve never had a problem with the address without .php. What I determined is that it had to due with my host. I had to add my IP to the .htaccess file because of attacks on WordPress sites so that’s why I could not reach the login page. Once I did that, everything works fine. Thanks again for your help.

    Hey, now that makes perfect sense… Quite a lot of that brute force attempt nonsense recently. Your hosts efforts to minimize that nuisance probably explains what I saw in the server responses. Glad you sorted it out!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't login to admin…get 404 page’ is closed to new replies.