Title: Problems moving site from dev to root
Last modified: August 21, 2016

---

# Problems moving site from dev to root

 *  [richseals](https://wordpress.org/support/users/richseals/)
 * (@richseals)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problems-moving-site-from-dev-to-root/)
 * Hi,
 * I made the mistake of thinking all I had to do to move my site was move the files
   from out of my ‘dev’ folder to my root folder… how wrong was I! It’s not until
   it didn’t work I realised I should have researched first.
 * I have read all the info on changing the config file and index, but it still 
   didn’t work, so I moved all the files back and now I can’t log in.
 * my site: [http://www.nottinghamdrivertraining.co.uk](http://www.nottinghamdrivertraining.co.uk)
 * I installed WP in to a ‘dev’ folder and all worked fine until I tried to move
   it. I have now moved back and I have lost the login / admin panel and now the
   site (via the dev folder) is not showing the proper WP site. Unfortunately, I
   am not back to square 1, but worse than when I started as it’ not working at 
   all.
 * [http://nottinghamdrivertraining.co.uk/dev/](http://nottinghamdrivertraining.co.uk/dev/)
 * In my 4 hours of trying to fix this, I believe I have done more harm than good
   and probably altered something I shouldn’t have.
 * Any help would be appreciated.
 * Many Thanks
 * Richard
 * Thanks

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problems-moving-site-from-dev-to-root/#post-4239143)
 * > I installed WP in to a ‘dev’ folder and all worked fine until I tried to move
   > it. I have now moved back and I have lost the login / admin panel and now the
   > site (via the dev folder) is not showing the proper WP site.
 * Do you have DB backup from before you moved the site from ‘dev’?
    Yes? Try restoring
   from backup: [http://codex.wordpress.org/Restoring_Your_Database_From_Backup](http://codex.wordpress.org/Restoring_Your_Database_From_Backup)
 *  Thread Starter [richseals](https://wordpress.org/support/users/richseals/)
 * (@richseals)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problems-moving-site-from-dev-to-root/#post-4239159)
 * Hi,
 * Thanks for the response.
 * I have just restored the MySQL database and still the same.
 * When I type in /wp-admin
 * This is the response: ‘The requested URL /wp-login.php was not found on this 
   server.’
 * Any more ideas?
 *  Thread Starter [richseals](https://wordpress.org/support/users/richseals/)
 * (@richseals)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problems-moving-site-from-dev-to-root/#post-4239219)
 * I have just added the following to my config file and now I’m back to square 
   1.
 * define(‘WP_SITEURL’, ‘[http://www.example.com&#8217](http://www.example.com&#8217););
   
   define(‘WP_HOME’, ‘[http://www.example.com&#8217](http://www.example.com&#8217););
 * I’m going to follow the instructions this time…
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problems-moving-site-from-dev-to-root/#post-4239223)
 * -If the issue is still unresolved, access your WordPress database via phpMyAdmin
   and manually check, in the wp_options table, the **siteurl** and **home** values
   and make sure they are correct.

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

The topic ‘Problems moving site from dev to root’ is closed to new replies.

## Tags

 * [dev](https://wordpress.org/support/topic-tag/dev/)
 * [moving](https://wordpress.org/support/topic-tag/moving/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/problems-moving-site-from-dev-to-root/#post-4239223)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
