New WP site on top of old site (4 posts)

  1. netfusionstudios
    Posted 4 years ago #

    Have old site in root directory. Want new WordPress site in root directory. Can’t have two index files in root as WP doesn’t like it. Server will only serve index.shtml (old site) and ignores index.php (WP site). So I moved old site to /old/. All working fine. Set up temp redirect of domain to [domain].org/old/. All working fine.

    What I forgot is now I cannot see WP site installed in root directory because the redirect sends me to [domain].org/old/ even if I type in [domain].org/index.php.

    What do you recommend?

    Site in question is constitutionalchampions.org


  2. jonradio
    Posted 4 years ago #

    I think this will answer your question:

  3. netfusionstudios
    Posted 4 years ago #


    I did find those instructions originally. What I was hoping to do is install WP in the root directory, build the site there and then launch. The WP must be in the root when we launch.

    If this is the only way, then I guess I need to move WP to a sub-directory, build the WP site there, then move it back to root and delete the old site?

    Please advise.


  4. jonradio
    Posted 4 years ago #

    Many people want WordPress to power their site's root (e.g. http://example.com) but they don't want all of the WordPress files cluttering up their root directory. WordPress allows you to install it into a subdirectory, but have your blog exist in the site root.

    (from the link I originally gave)

    Very powerful concept: WordPress "lives" in a subdirectory, but "looks like" it is on the root, as you only have to type the domain name to get to your site. And it makes switching from one WordPress to another very, very fast. Just switch the index.php file in the root from one subdirectory to another.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.