Title: wp-configg.php &#8211; not wp-config.php
Last modified: August 22, 2016

---

# wp-configg.php – not wp-config.php

 *  [jimcallaghan](https://wordpress.org/support/users/jimcallaghan/)
 * (@jimcallaghan)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/wp-configgphp-not-wp-configphp/)
 * Hi
    I now host a few WP sites in the one hosting package, and the first one was
   a little family diary blog – jimcallaghan.com – the others have been made since
   then, are wholly contained in sub folders beneath /public_html/ so I thought 
   I’d move the main one in to a folder too. Nothing short of OCD tidy up of the
   root. I copied the contents of all the ncessary root files & folders in to a 
   sub direcotry. Browse to it and I’m told WP can’t find a wp-config.php file. 
   I go back to the root to look at the files and sure enough – one does not exist
   for the exisitng WORKING website. What DOES exist is WPCONFIGG.php Double GG.
   So aside from moving and tidying up, I now can’t figure out how the site is working
   at all in the first place!? Any offers would iron out the wrinkles in my brain.
   Thanks in advance.

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/wp-configgphp-not-wp-configphp/#post-5722787)
 * Just to be on the safe side, get a new `wp-config-sample.php` file from a fresh
   download at [https://wordpress.org/download/](https://wordpress.org/download/)
   fill it in, re-title it to `wp-config.php` and upload it replacing the other.
 * I don’t suspect any foul play, and also for that matter can’t figure out how 
   it would have worked when renamed, but there’s no reason to not play it safe.
   🙂

Viewing 1 replies (of 1 total)

The topic ‘wp-configg.php – not wp-config.php’ is closed to new replies.

## Tags

 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/wp-configgphp-not-wp-configphp/#post-5722787)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
