Title: Moving Directory
Last modified: August 22, 2016

---

# Moving Directory

 *  [2314](https://wordpress.org/support/users/2314-1/)
 * (@2314-1)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/moving-directory-3/)
 * Greetings WPers!
 * I was trying to move my directory today using this guide: [](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
 * Something went wrong. My site is here: [eigopro.me](http://eigopro.me)
 * I copied the index.php and updated and copied .htaccess to the root of my site
   in cPanel.
    The formatting is gone and I cannot login to WP’s admin panel.
 * How do i fix this?

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

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/moving-directory-3/#post-5488141)
 * These articles are relevant:
 * [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
   
   [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
 *  Thread Starter [2314](https://wordpress.org/support/users/2314-1/)
 * (@2314-1)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/moving-directory-3/#post-5488143)
 * Those are the two I was using to try and make the change.
    I am asking if the
   formatting being gone is a quick fix or do I need to undo my changes, bring the
   the site back to its former directory and try again. In which case, I wouldn’t
   know where to start.
 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/moving-directory-3/#post-5488180)
 * First off check that the changes described in “Giving WordPress its own directory”,
   in the files .htaccess and index.php are correctly done.
 * Have a look at the pages from your website in your browser, which file paths 
   are wrong ? This will give clues as to what needs changing.
 *  Thread Starter [2314](https://wordpress.org/support/users/2314-1/)
 * (@2314-1)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/moving-directory-3/#post-5488334)
 * So, I went through the directions on “Giving WordPress its own directory” and
   confirmed I followed them. Specifically I followed “Using a pre-existing subdirectory
   install” because WordPress was installed in a subfolder: public_html/eigopro.
   me
 * -Per the directions, I edited the site name on wordpress when I had access to
   the admin interface.
 * -I COPIED not moved the files index.php and .htaccess from their subfolder in:
   public_html/eigopro.me/wp to: public_html/eigopro.me
 * -I edited the index.php file to the following: require( dirname( __FILE__ ) .‘/
   wp/wp-blog-header.php’ ); which is the location for wp core files.
 * Next step says to access the permalinks but I cannot log into to the admin interface
   using the addresses from the tutorial and some others I found elsewhere.
 * Really need help. Been tweaking different things for over an hour, but the theme
   doesn’t load properly still and it looks like this:
    [http://eigopro.me/](http://eigopro.me/)
 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/moving-directory-3/#post-5488342)
 * You said:
    `because WordPress was installed in a subfolder: public_html/eigopro.
   me` BUT it really is at: `installed in a subfolder: public_html/wp`
 *  Thread Starter [2314](https://wordpress.org/support/users/2314-1/)
 * (@2314-1)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/moving-directory-3/#post-5488363)
 * I’m super confused because I have folders called “wp” in two places. I edited
   the functions.php to sort of bring the site back to how it was. I have dashboard
   access now, but it displays page not found and my page links are not working.
   [http://eigopro.me/wp/](http://eigopro.me/wp/)
 * My cPanel structure is like this:
    public_html /eigopro.me //wp /wp
 * In other words, the folder “wp” exists immediately when you open the public_html,
   along with folders eigopro.me and other websites.
 * When you open eigopro.me there is a folder in there called “wp” also.
 * But I am only working with the wp folder that is inside of the website I am working
   on, ie eigopro.me, right? I don’t really need that public_html/wp folder.
 * Thanks for sticking with me through this.

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

The topic ‘Moving Directory’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [2314](https://wordpress.org/support/users/2314-1/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/moving-directory-3/#post-5488363)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
