Title: Duplicate WordPress install
Last modified: April 12, 2018

---

# Duplicate WordPress install

 *  Resolved [kshawk108](https://wordpress.org/support/users/kshawk108/)
 * (@kshawk108)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/duplicate-wordpress-install/)
 * I’ve installed and built a WP site, and it was created in the wp folder of the
   domain, with a redirect added in the cpanel. For some reason it stopped becoming
   available, getting page not found errors. I contacted my hosting provider, and
   his tech person said the problem was that the install was not at the root level.
   He duplicated the entire WP install outside of the subfolder and it works, but
   only if I have two mirrored installs, one in the customary wp subfolder, and 
   one up one level at the root. THis cannot be right; none of our other sites were
   setup this way. If I try to move either installation, I get errors, so it seems
   to be a siamese twin situation here; I can’t get rid of one installation or the
   whole site goes down. It works, but is unnecessarily bloated and goes against
   my housekeeping sensibilities! Can anyone shed light? I can share any .htaccess
   or wp-config info needed…I suspect it was somewhere there. It should be noted
   that this site was built on another domain platform, and then migrated using 
   updraft plus. Any help is appreciated!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fduplicate-wordpress-install%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/duplicate-wordpress-install/#post-10175271)
 * First DO NOT share your wp-config info, it is not safe, the rules prevent anyone
   helping you this way.
 * My guess is that the site has changed directory level between where it was developed
   and where it is now. It may be simpler to delete it and repeat the migration,
   or at least consider doing this.
 * What is:
    – Your SITE ADDRESS and WORDPRESS ADDRESS ? these from your Dashboard
   > Settings > General tab – What is your .htaccess file from both: [https://bachanddevos.com/wp/](https://bachanddevos.com/wp/)
   and [https://bachanddevos.com/](https://bachanddevos.com/) ?
 * I confirm that I find “readme.html” at both these locations:
    [https://bachanddevos.com/wp/readme.html](https://bachanddevos.com/wp/readme.html)
   [https://bachanddevos.com/readme.html](https://bachanddevos.com/readme.html)
 *  Thread Starter [kshawk108](https://wordpress.org/support/users/kshawk108/)
 * (@kshawk108)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/duplicate-wordpress-install/#post-10175319)
 * Site address and WordPress address are both [https://bachanddevos.com/wp](https://bachanddevos.com/wp)
 * .htaccess at bachanddevos.com:
 * RewriteOptions inherit
 * .htaccess at backanddevos.com/wp:
    # BEGIN WordPress <IfModule mod_rewrite.c>
   RewriteEngine On RewriteBase /wp/ RewriteRule ^index\.php$ – [L] RewriteCond %{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wp/index.
   php [L] </IfModule>
 * # END WordPress
 *  Thread Starter [kshawk108](https://wordpress.org/support/users/kshawk108/)
 * (@kshawk108)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/duplicate-wordpress-install/#post-10175755)
 * I didn’t hear back from you, Ross, and I appreciate your help…should the .htaccess
   file contents be identical, as opposed to what I am seeing? I do have the site
   backed up and would usually err on the side of reinstalling (versus rebuilding
   from scratch), but what is preventing me is that It seems to be using both installed
   locations, so I don’t know excactly what to merge and what to purge…
 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/duplicate-wordpress-install/#post-10178670)
 * Computer problem.
 * The .htaccess files are different.
    This doc is relevant: ttps://codex.wordpress.
   org/Giving_WordPress_Its_Own_Directory
 *  Thread Starter [kshawk108](https://wordpress.org/support/users/kshawk108/)
 * (@kshawk108)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/duplicate-wordpress-install/#post-10180044)
 * Thank you for your time, Ross. Though I am not an Apache programmer, I thought
   it was in the .htaccess file…so I copied the code off one site that works perfectly,
   and just changed the domain accordingly…Bingo. Everything worked. Thank you again-

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

The topic ‘Duplicate WordPress install’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [kshawk108](https://wordpress.org/support/users/kshawk108/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/duplicate-wordpress-install/#post-10180044)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
