Title: Lost site
Last modified: August 21, 2016

---

# Lost site

 *  Resolved [NDentalHux](https://wordpress.org/support/users/ndentalhux/)
 * (@ndentalhux)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/help-lost-site-1/)
 * my site was working perfectly, and then i went into the security tab and checked
   the box for the database prefix change. the browser crashed before i could write
   down the new prefix WP gave me, and when i reopened and went back WP took me 
   to an installation page. So I reinstalled using the same log in details i did
   last time, and its set up a new WP fresh site with nothing on it at my original
   URL. where did it all go?? Please help, I have a backup but no idea how to retrieve
   it and if i even can.

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5007886)
 * Access your database via phpMyAdmin or whatever database access tool your hosting
   provider offers to determine what your new prefex is (it won’t be `wp_`).
 * Once you have the new prefix, access your `wp-config.php` file via SFTP, FTP,
   or your hosting provider’s file manager and adjust this line accordingly:
 * `$table_prefix = 'wp_';`
 *  Thread Starter [NDentalHux](https://wordpress.org/support/users/ndentalhux/)
 * (@ndentalhux)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5007888)
 * Thankyou so much for your quick response! I will try this fix.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5007892)
 * You’re welcome!
 *  Thread Starter [NDentalHux](https://wordpress.org/support/users/ndentalhux/)
 * (@ndentalhux)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008152)
 * Took me ages to find the time, but I finally tried the fix – I followed your 
   instructions and edited wp-config – I can see the plugins on my wordpress panel
   for my website but the actual site is still missing. Is there something I haven’t
   done?
    Ps…I have a sneaking suspicion I may have uploaded wp-config.sample instead
   of wp-config way back when I uploaded the website although I might be wrong…any
   suggestions? Thanks!!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008153)
 * Did you access your database via phpMyAdmin? Does it only have tables with a `
   wp_` prefix (or a prefix matching your `wp-config.php` file’s set prefix)? Are
   the tables mostly empty, do you see your posts in the `_posts` table?
 *  Thread Starter [NDentalHux](https://wordpress.org/support/users/ndentalhux/)
 * (@ndentalhux)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008154)
 * It has both. tables with the new prefix and about half that amount with the old
   wp prefix. The tables with the new prefix have all the material in them, and 
   the wp tables are empty. should i delete the wp’s?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008155)
 * Not yet, first adjust your wp-config.php file to reflect the prefix of the correct
   tables.
 * [http://codex.wordpress.org/Editing_wp-config.php#table_prefix](http://codex.wordpress.org/Editing_wp-config.php#table_prefix)
 * If your site appears to work as expected finally, you can delete those tables
   with the other prefix.
 *  Thread Starter [NDentalHux](https://wordpress.org/support/users/ndentalhux/)
 * (@ndentalhux)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008156)
 * Ahh. small syntax error. Thankyou so much! (apologies, my first time to this!)
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008157)
 * You’re welcome! No apologies necessary, we’ve all done something similar at some
   point. 🙂
 *  Thread Starter [NDentalHux](https://wordpress.org/support/users/ndentalhux/)
 * (@ndentalhux)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008161)
 * ok wp-config file now says $table_prefix = ‘lbktwyn’; instead of $table_prefix
   = ‘wp_’;
    but i still can’t see my website. It has same log in details, same 
   url same website title and a list of my plugins, but a completely new blog that
   is untouched..driving me crazy! all the content is in the database, i just don’t
   get it!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008162)
 * Are the tables like `lbktwynposts` or `lbktwyn_posts` ?
 * If the tables are like `lbktwynposts` then you definitely have it set correctly,
   and I’m at a loss for why it isn’t seeing the database. Maybe contact your hosting
   provider.
 * If the tables are like `lbktwyn_posts` then the set prefix should be `lbktwyn_`
 *  Thread Starter [NDentalHux](https://wordpress.org/support/users/ndentalhux/)
 * (@ndentalhux)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008163)
 * there is an underscore, i just modified the config to reflect that so the prefix
   should be correct. driving me crazy i feel like im missing something! i will 
   have to contact SmartyHost
 *  Thread Starter [NDentalHux](https://wordpress.org/support/users/ndentalhux/)
 * (@ndentalhux)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008164)
 * I read something about deleting the home.html file or index.html file in the 
   FTP domain root as it may be blocking the site…would that work?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008166)
 * Yes, please do try that as well.
 * Just to confirm, did you set `$table_prefix = 'lbktwyn_';` ?

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

The topic ‘Lost site’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/help-lost-site-1/#post-5008166)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
