WordPress Login Issues:WP-Admin Showing 404 Error Page
Yesterday i noticed a strange WordPress login problem. When i hit techzoomin.com/wp-admin, it’s simply taking me to 404 error page and if i try with techzoomin.com/wp-login.php, its showing the login page. But upon giving the credentials, its showing 404 page again. My mind was blank for one minute, my first doubt was “whether my blog got hacked?” 🙂
But thank God, Later i realized it as a known problem and Googled for the solution. Spent almost 2 hours on the web and tried many things like
- Deleting .htaccess file and uploading the fresh one
- Tried with replacing wp-login.php
- Checking tables
- Deleting/deactivating all the plugins
And many more…you can see some of them on WordPress Login troubles page. Later saw my friend Harsh of ShoutMeLoud online and explained him about the strange problem. Then we both started digging in. Btw Harsh found some article “wp-admin.php 404 not found Error WordPress“, it didn’t give me 100% solution, but it gave some idea to play with folder attributes.
Then started changing file attributes in Filezilla and succeeded finally. Here is the solution for you
1. Login to your FTP and go to /public_html/wp-admin
2. Right click on wp-admin folder and click on File Attributes
3. Change the value to 755 and check the Recurse into subdirectories checkbox
4. Click Ok
Repeat the same 4 steps for wp-content and wp-includes also.
Now clear your browser cache and try to login to your WordPress admin panel. You’ll be able to login now. Contact us if you see any problem.
Let us know if you have faced and solved this problem in any other way. Happy Blogging!!