Title: Corrupted wp-admin file
Last modified: August 18, 2016

---

# Corrupted wp-admin file

 *  [luther_blue](https://wordpress.org/support/users/luther_blue/)
 * (@luther_blue)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/corrupted-wp-admin-file/)
 * I screwed up my wp-admin file by “accidentially” changing the my websites name
   to some that is is NOT legitimate.
 * So when I try and hit [http://www.hdradioinfo.com/wp-admin.php](http://www.hdradioinfo.com/wp-admin.php)
   I get a 404 error about the server cannot be found.
 * The following is what I corrupted because you can see that I don’t have the correct
   URL in my file.
    [http://hdo.com/wp-login.php?redirect_to=%2Fwp-admin%2Fedit.php](http://hdo.com/wp-login.php?redirect_to=%2Fwp-admin%2Fedit.php)
 * Is there a file that I can overwrite and place back on my site to correct that
   value.
 * Chas

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

 *  [lbessant](https://wordpress.org/support/users/lbessant/)
 * (@lbessant)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/corrupted-wp-admin-file/#post-130629)
 * [This post](http://wordpress.org/support/topic.php?id=18568) might help.
 * In brief, you’ll need to fix the value for siteurl in your database using PHPMyAdmin
   or your choice of database tool, and probably modify wp-login.php to stop WordPress
   trying to be helpful by changing it back.
 * Admin – is it possible to make a link to this solution “sticky” – variations 
   of it seem to be biting a lot of people.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/corrupted-wp-admin-file/#post-130651)
 * [@lbessant](https://wordpress.org/support/users/lbessant/) – unfortunately sticky
   posts are not yet an option here..so we’ll have to keep pointing people at various
   threads. I’ll try and come up with an idea about that though..
 *  Thread Starter [luther_blue](https://wordpress.org/support/users/luther_blue/)
 * (@luther_blue)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/corrupted-wp-admin-file/#post-130671)
 * Any help would be appreciated.
 * I have scanned the DB in PHPMyAdmin but I cannot find a wp-login file? I am SURE
   that it is a operator error, but none the less I am at a loss.
 * Since I am such a newbie to this, do you suggest that I just blow away my WP 
   site and bulid another? Would that be the easiest thing to do, or this is a realtively
   simple fix?
 * Thanks.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/corrupted-wp-admin-file/#post-130685)
 * The siteurl and home values in the table wp_options are what WP uses.
    This page
   describes resetting them: [http://www.tamba2.org.uk/wordpress/site-url](http://www.tamba2.org.uk/wordpress/site-url)
 *  Thread Starter [luther_blue](https://wordpress.org/support/users/luther_blue/)
 * (@luther_blue)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/corrupted-wp-admin-file/#post-130813)
 * Awesome!
 * Thank you very much to podz and lebessant!
 * The advise and tutorials helped a novice like me to fix it!

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

The topic ‘Corrupted wp-admin file’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [luther_blue](https://wordpress.org/support/users/luther_blue/)
 * Last activity: [21 years, 7 months ago](https://wordpress.org/support/topic/corrupted-wp-admin-file/#post-130813)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
