Title: wp-admin returns 404
Last modified: August 19, 2016

---

# wp-admin returns 404

 *  Resolved [johnnyflash](https://wordpress.org/support/users/johnnyflash/)
 * (@johnnyflash)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/)
 * My website (www.openresources.org) was recently hacked and I have restored all
   of the functionality except I can’t seem to figure out why the wp-admin link 
   is returning 404 file not found. When you go to [http://www.openresources.org/wp-login.php](http://www.openresources.org/wp-login.php)
   you can login successfully but instead of it taking you to the admin screen it
   displays a 404 error. Does anyone have any suggestions of which file/part might
   be broken and causing this?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [johnnyflash](https://wordpress.org/support/users/johnnyflash/)
 * (@johnnyflash)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/#post-1297421)
 * I am unable to access any files inside of wp-admin… they all return 404. However,
   I can access wp-login.php in the root. Any ideas?
 *  Thread Starter [johnnyflash](https://wordpress.org/support/users/johnnyflash/)
 * (@johnnyflash)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/#post-1297452)
 * I have restored my wp-admin folder with my backup version, along with wp-includes
   and all the files in the root and I’m still getting a 404… anyone know what might
   be the problem?
 *  Thread Starter [johnnyflash](https://wordpress.org/support/users/johnnyflash/)
 * (@johnnyflash)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/#post-1297462)
 * I’ve noticed that the index.php files found in subfolders are not being displayed
   when you access the subfolder, instead it is displaying a 404. If I rename the
   index.php file to index.htm then it loads the page (no 404 error) and I can view
   the contents of the file by viewing source. So it has something to do with not
   loading index.php as the default file in subfolders. It does load the index.php
   in the root, so it is only subfolders that have the problem. Does anyone know
   the php or apache setting that needs to be tweaked to fix this?
 *  Thread Starter [johnnyflash](https://wordpress.org/support/users/johnnyflash/)
 * (@johnnyflash)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/#post-1297505)
 * Problem solved! There was an error with IonCube on the web server. My hosting
   company figured it out for me.
 *  [sleeplessindc](https://wordpress.org/support/users/sleeplessindc/)
 * (@sleeplessindc)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/#post-1297510)
 * I’m having the same problem. What was the solution?
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/#post-1297511)
 * > Problem solved! There was an error with IonCube on the web server. My hosting
   > company figured it out for me.
 *  [sleeplessindc](https://wordpress.org/support/users/sleeplessindc/)
 * (@sleeplessindc)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/#post-1297512)
 * Yes, and what did the hosting company figure out? What had to be done to fix 
   the problem?
 *  [jive-turkey](https://wordpress.org/support/users/jive-turkey/)
 * (@jive-turkey)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/#post-1297689)
 * I had this problem today and it wnt away after I deleted my .htaccess file in
   wp-admin. I’ll need to look into this further.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘wp-admin returns 404’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [administrator](https://wordpress.org/support/topic-tag/administrator/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [url](https://wordpress.org/support/topic-tag/url/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [jive-turkey](https://wordpress.org/support/users/jive-turkey/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/wp-admin-returns-404/#post-1297689)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
