Title: Lost admin access
Last modified: August 19, 2016

---

# Lost admin access

 *  Resolved [mkirkwag](https://wordpress.org/support/users/mkirkwag/)
 * (@mkirkwag)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/)
 * I set up my site and was all set to tell the audience that it was there, right
   after I did this one…last…thing…and I killed it.
 * What I was trying to do was make a static post. Here’s where my descriptive powers
   are going to fail, because I can’t look at what I was doing, but it was something
   like this: in settings, there’s a place to specify what address of your site 
   is and what you want the landing place to be if not the root site. At least I
   thought that’s what it meant.
 * I set the second address for a page that I wanted use as a home. Nothing changed.
   When I went to main address, it still went to the blog. So I tried changing the
   first address from [http://www.tribeofadmins.com](http://www.tribeofadmins.com)
   to [http://www.tribeofadmins.com/home](http://www.tribeofadmins.com/home).
 * Well. All the formating is gone, and /wp-admin redirects me to the blog. I tried
   [http://www.tribeofadmins.com](http://www.tribeofadmins.com) /home/wp-admin, 
   but the result was the same.
 * Do I need to reinstall WP and start over, or is there an element I can replace?
   Thanks in advance – I’m leaving hair all over the floor.

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

 *  [WordPress Hosting](https://wordpress.org/support/users/lzjimmy/)
 * (@lzjimmy)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986093)
 * You will need to update all links to new url in your database “wp-options” table
 *  Thread Starter [mkirkwag](https://wordpress.org/support/users/mkirkwag/)
 * (@mkirkwag)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986252)
 * Sorry – don’t know how to find it. I’ve found a whole pack of “options-” files
   in the public_html>wp>admin file. I was looking at “options-permalink.php” and
   noticing this:
    include(‘admin-header.php’);
 * $home_path = get_home_path();
 * and wondering if the url should be in that path, but given what happened the 
   last time I started fooling around with settings, I didn’t want to try it without
   asking.
 * If that’s not the right place, would you mind directing me to the “wp-options”
   table?
 *  Thread Starter [mkirkwag](https://wordpress.org/support/users/mkirkwag/)
 * (@mkirkwag)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986253)
 * I should have said – there is a file WP>Admin> options.php… I thought that was
   the right one, but expected there to be a url within it, but there isn’t, and
   I don’t see where one would (probably due to gross ignorance).
 *  [mikey1](https://wordpress.org/support/users/mikey1/)
 * (@mikey1)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986255)
 * [http://educhalk.org/blog/?p=21](http://educhalk.org/blog/?p=21)
    [http://www.tamba2.org.uk/wordpress/site-url/](http://www.tamba2.org.uk/wordpress/site-url/)
 * mike.
 *  Thread Starter [mkirkwag](https://wordpress.org/support/users/mkirkwag/)
 * (@mkirkwag)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986264)
 * Here’s something else I wonder: shouldn’t all my WP files be contained within
   one folder within the public_html file? There are 3 WP folders – admin, content,
   and includes – in the public_html folder. Then all the other WP files that don’t
   live in one of those folders are loose in the public_html folder.
 *  [mikey1](https://wordpress.org/support/users/mikey1/)
 * (@mikey1)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986265)
 * Hi again, what you’ve described is correct, you have installed wordpress in your
   route directory public_html.The three main wordpress directories, plus all the
   individual wordpress files, including config.php.
    you’ll need to edit the site
   url and blog url to reflect this. [http://www.tribeofadmins.com/](http://www.tribeofadmins.com/)
   as explained in the links above. hope you get there. mike.
 *  Thread Starter [mkirkwag](https://wordpress.org/support/users/mkirkwag/)
 * (@mkirkwag)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986267)
 * Thanks, Mike – this gives me hope!
 *  Thread Starter [mkirkwag](https://wordpress.org/support/users/mkirkwag/)
 * (@mkirkwag)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986277)
 * Mike, you are my hero.
    All fixed!
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986331)
 * > You will need to update all links to new url in your database “wp-options” 
   > table
 * this is like 4 threads now you have advised people incorrectly to mess with their
   database.
    1st – your solution was incorrect (which happens to all of us) 2nd–
   messing with the database is fairly advanced, especially for new users
 *  Thread Starter [mkirkwag](https://wordpress.org/support/users/mkirkwag/)
 * (@mkirkwag)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986335)
 * Well, in all fairness, that is ultimately what Mike’s solution led me to – it’s
   just that I needed that fabulous step by step video to get there – or at least
   a hint as to how to get into the DB. I was trying to mess with
    -  files
 * . I finally realized that it said “table,” but I wasn’t getting there on my own.

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

The topic ‘Lost admin access’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [lost access](https://wordpress.org/support/topic-tag/lost-access/)
 * [wrong URL](https://wordpress.org/support/topic-tag/wrong-url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 4 participants
 * Last reply from: [mkirkwag](https://wordpress.org/support/users/mkirkwag/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/lost-admin-access-1/#post-986335)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
