Title: How to deploy from example.com/folder to example.com
Last modified: August 20, 2016

---

# How to deploy from example.com/folder to example.com

 *  Resolved [gibbsp999](https://wordpress.org/support/users/gibbsp999/)
 * (@gibbsp999)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-deploy-from-examplecomfolder-to-examplecom/)
 * I have domain.com and I built domain.com/dev/wpresponsive. I backed up both sites
   using cPanel’s Installatron. Downloaded this plugin, which I think is great, 
   even though I did something wrong and didn’t get the results that I am looking
   for. But anyway, I deleted domain.com and moved domain.com/dev/wpresponsive to
   domain.com. They have two (2) different databases and the tables are not using
   the default table prefix of wp_ they are using wtx4lpv0r_ and g8edfyaen_ respectively.
   I am getting “Error establishing a database connection” and I am not sure why.
   I did the test before I deployed and I got the “green light” to go ahead with
   the deployment but no luck. What did I do wrong and how can I fix it if I can?
   Do you have enough information to assist me?
 * [http://wordpress.org/extend/plugins/duplicator/](http://wordpress.org/extend/plugins/duplicator/)

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

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-deploy-from-examplecomfolder-to-examplecom/#post-3359434)
 * Hey gibbsp999,
 * You might checkout the [Duplicator cpanel video tutorial](https://lifeinthegrid.com/support/knowledgebase.php?article=3#tutorials)
   it walks through a database setup. Also pay attention to the case of lettering
   on your username and passwords they are case sensitive.
 * Hope that helps!
 *  Thread Starter [gibbsp999](https://wordpress.org/support/users/gibbsp999/)
 * (@gibbsp999)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-deploy-from-examplecomfolder-to-examplecom/#post-3359443)
 * This was my fault as I did not understand the instructions correctly. I worked
   but at the moment I cannot get into the back end anymore. I was able to when 
   I first transferred the files. I am using Better WP Security maybe that is the
   problem. I will delete this plugin by FTP and see if that is an issue. Then hopefully
   I can reinstall Better WP Security.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-deploy-from-examplecomfolder-to-examplecom/#post-3359451)
 * You should be able to do that without any issues as far as I know, just be sure
   to always keep a backup of whatever you delete…
 *  Thread Starter [gibbsp999](https://wordpress.org/support/users/gibbsp999/)
 * (@gibbsp999)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-deploy-from-examplecomfolder-to-examplecom/#post-3359455)
 * Uninstalled and reinstalled and it is working fine. Awesome plugin.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-deploy-from-examplecomfolder-to-examplecom/#post-3359465)
 * Awesome! Glad you got it going…

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

The topic ‘How to deploy from example.com/folder to example.com’ is closed to new
replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-deploy-from-examplecomfolder-to-examplecom/#post-3359465)
 * Status: resolved