Solution for wp-admin redirect to 404 Page Not Found

I recently found a solution about this weird problem in WordPress. If you encountered the same problem I encountered before, then this solution might work for you. If you go to wp-admin and you got redirected to a 404 page, then here’s the solution that worked for me and hopefully it works for you.

I browsed in the WP forums and support pages, but I found nothing that could help me resolve my problem.

What happened is that I accidentally discovered a solution to my small dilemma. After moving my WordPress files to a new host, the rights of the files and folder was changed.

It was CHMODed to 777. What I did to fix this wp-admin redirect problem is to CHMOD my wp-login.php to 755. You can also CHMOD it to 644 and it will still work.

I hope this post helped others who encountered the same problem as mine.

Share and Enjoy:
  • Ratimarks
  • Digg
  • Yahoo! Buzz
  • LinkedIn
  • Technorati
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • NewsVine
  • Ma.gnolia
  • Propeller
  • Sphinn
  • Wikio
  • MisterWong
  • Live
  • YahooMyWeb
  • TwitThis
  • MySpace
  • Pownce

RSS feed | Trackback URI

13 Comments »

Comment by loop
2010-04-27 10:29:55

It not help to me :(

 
Comment by Jalter
2010-05-05 07:48:06

try and check on the FTP – your site directory if you have the “wp-login.php” file in it. Probably you you deleted it accidentally..

 
Comment by mark
2010-05-07 08:28:59

you wrote it over a year ago man but you just helped me big time thanks!

 
Comment by muthnewette
2010-09-13 08:00:17

nice article mate also really like the design

 
Comment by Victoria
2010-12-11 10:00:13

This doesn’t work for me it’s over simplified

 
Comment by tourneau watch
2011-01-26 21:04:04

Does not work :(

 
Comment by Brandon
2011-07-09 03:10:11

Sorry but your “solution” is misleading. If it works at 0644 then it will definitely work at 0755 or 0777. So you must have changed something else that fixed it. Changing to 0644 and having it work was just a coincidence. Mine is already set to 0644 and no permission changes. I still get this error.

 
Comment by Donald Serrano
2011-07-09 03:14:43

Hi Brandon, I found another solution. If you have a WordPress Redirection plugin, try disabling it. If it still doesn’t work, your last resort is to change your php handler to suPHP from mod_php.

Check this post out:
http://bryanveloso.com/2010/04/03/change-your-php-handler-from-mod_php-dso-to-suphp/

 
Comment by Brandon
2011-07-09 03:26:30

@donald: thanks for the quick reply and the follow-up suggestion. I already have suPHP as the handler. I haven’t made a post in nearly 9 months, so I’m not sure what’s changed between then (used to work) and now.

 
Comment by Donald Serrano
2011-07-09 04:00:49

@Brandon – maybe it’s your WordPress version. Try upgrading it to the latest version. :)

 
Comment by mrdon
2011-09-11 02:16:40

It didnot help me

 
Comment by Dima
2011-11-10 01:47:09

COOL, it finally helped me after hour of renaming .htaccess and the plugins THANKS A LOOOOT

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post