• Resolved kshawk108

    (@kshawk108)


    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 to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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/ and https://bachanddevos.com/ ?

    I confirm that I find “readme.html” at both these locations:
    https://bachanddevos.com/wp/readme.html
    https://bachanddevos.com/readme.html

    Thread Starter kshawk108

    (@kshawk108)

    Site address and WordPress address are both 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

    (@kshawk108)

    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…

    Computer problem.

    The .htaccess files are different.
    This doc is relevant:
    ttps://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Thread Starter kshawk108

    (@kshawk108)

    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.