• LABachlr

    (@labachlr)


    I’m replacing a regular HTML site with a WordPress blog site. I want to keep the HTML site up while I create the WordPress blog site, and since the WordPress blog site will replace the HTML site, it is installed in the main folder (public_html) of the site where the HTML site also resides. The homepage of the html site is index.html.

    So I tried going to site.com/index.php, but it just sends me back to the HTML homepage.

    Then I tried going into the admin section of the blog and “previewing” a blog post and page, but that also just sends me back to HTML homepage.

    So, how do I set it up so that I can work on and view the blog while the HTML site is still up and located in the same folder as the WordPress install? Is that even possible?

    TIA

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

    (@esmi)

    Install WordPress in a sub-folder, then when you are ready to switch over, see this Codex page.

    Thread Starter LABachlr

    (@labachlr)

    Great. Thanks. It’s already installed in the root folder. Can I just move the files over to a new directory like that doc suggests and work on it there, or are those instructions for only when I want the WordPress site to be live? And if I do move it (vs doing a fresh install in another folder), is that going to screw up the link to the database, or is the database path a full path in the coding?

    If I need to do a fresh install into a new folder, that’s fine, but I would prefer to keep this installation, as I have already created some pages.

    Btw, with this setup, what will the URL to the blog post be?

    https://website.com/blog-post-title

    OR

    https://website.com/blogfilesfolder/blog-post-title

    Thanks.

    Thread Starter LABachlr

    (@labachlr)

    I tested it on another site and it worked great. Thanks.

    Thread Starter LABachlr

    (@labachlr)

    The test I did was for a fresh install. I would still like to have the questions that I asked in my second to last post answered regarding a current WordPress installation in the root folder. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I edit/view a WordPress blog installed in the same folder as a HTML site?’ is closed to new replies.