wp-admin Redirected To Error 404 Page After WordPress Upgrade
Have you encountered wp-admin page being redirected to Error 404 page after your WordPress upgrade?
Last 2 days, I almost went crazy when I found out that I couldn’t login to my WordPress blog anymore even though had successfully upgraded to WordPress 2.9.2. Every time i went to the wp-admin page, it was being redirected to error 404 page.
I did try to get help from WordPress Support Forums and BlogCatalog but luck was not with me. At that moment, I really didn’t know what to do already and even thought of rebuilding this blog again. Luckily, I procrastinated the idea and decided to investigate further.
So what I did was that I created a php file named test.php with the following code in it:
<?php phpinfo(); ?>
and then place it one each under root and wp-admin folder. What happened was that the test.php was working fine under the root folder but NOT for the wp-admin folder. Ah-hah! This had at least given me some hints why I was not able to access any php files inside of wp-admin folder. Then I proceeded to creating a temporary folder, for example called ‘testphp’ under root and copy the test.php into it to test if the php file was working fine. Yes, it worked! At that moment, I had the strong feeling that I could identify the root cause of the problem.
What I did after that was I compared the permission between ‘testphp’ of the wp-admin folders. Guess what, I discovered that the permission between the 2 folders were somehow different where ’testphp’ and wp-admin folder were having permission 755 and 777 respectively. I was not sure why permission of wp-admin had been changed to 777 during WordPress upgrade process. Anyway, I proceeded to changing the permission from 777 to 755. Bingo! It has started to work again and I have a sigh of relief.

Just in case you encounter almost the same kind of problem as I described above in the future, please be sure to check if the permission of the wp-admin folder is set to 755 before proceeding to finding out other potential root cause such as file permission, corrupted/missing files and so on.
Thanks for reading my long winded story!
Popularity: 26% [?]
Related posts:
- How To Install WordPress Locally With XAMPP Have you ever thought of making your personal computer...
Related posts brought to you by Yet Another Related Posts Plugin.




WOW, thank you.I always wanted to write in my site something like that. Can I take part of your post to my blog?
hi
i’m so happy that i saw this article. that post was so nice. thanks again i bookmarked this blog.
are you planning to write similar posts?
Very informative post. Thanks for taking the time to share your view with us.
Awesome Blog. I add this Blog to my bookmarks.
Hey I think you have a great blog going here, I found it on Bing and plan on returning regularly for the information that you all are providing.
This is really my very first time here, truly great looking blog. I discovered a lot of fascinating stuff within your blog especially it is discussion. From all the comments on your articles, it seems like this is really a extremely popular web site. Maintain up the great work.
You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material
I’ll visit this site again to read your next post! Good job done!
THANK YOU SOOOOOOOOOOOOOOOOOO MUCH FOR SHARING.
I HAD THIS HAPPEN THIS MORNING AND WAS FREAKING OUT!!!
BLESS YOU!!!!