• Hi guys,

    I want to create a WP multisite to replace an existing site built in html.

    I need the existing html pages to be publically displayed until the new WP site is complete.

    I understand it is tricky to build a multisite locally and prefer to build it live as my skills are limited.

    If I install WP on the domain, will the site’s index.html file override the WP index.php? Or will I need to do a temporary redirect to the index.html within WP to ensure that this home page displays?

    The only thing is the html domain name doesn’t have index.html at the end of it.

    Is this the correct way to do it? Your help is appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    If I install WP on the domain, will the site’s index.html file override the WP index.php?

    Probably. It’s really hard to have both up at once, since WP multisite likes to live in root.

    I would install MultiSite and spin up a fast static front page with your extant HTML in it. And/or redirect the index page to index2.html so you can use WP secretly.

    If I install WP on the domain, will the site’s index.html file override the WP index.php?

    Yes. most servers are set up that way by default.

    The only issue I see is that when you look at the sub sites, you’ll still see the main index.html. you can go right to subsite.yourdomain.com.index.php though.

    The only thing is the html domain name doesn’t have index.html at the end of it.

    it doesn;t have to. the server picks which one to show first.

    Thread Starter RainbowSmile

    (@rainbowsmile)

    Thanks guys.

    I just post about a problem I’m facing whith the dashboard of my new subsite not showing and which is quite similar I guess…
    Because we also have an index.php directing to an html page…

    Andrea, what do you mean by
    ” when you look at the sub sites, you’ll still see the main index.html. you can go right to subsite.yourdomain.com.index.php though” ?
    Could you explain it for a wordpress beginner ?
    Many thanks,
    Adèle /

    Thread Starter RainbowSmile

    (@rainbowsmile)

    What I have actually done is this.

    I changed the index.php to home.php so I have both the html site and WP site up. The only way someone can access the WP site is if they type in domain.com/home.php which is doubtful.

    After I finish the site, I am going to create the Multisite install, and create my subdirectory.

    Once that site is finished and everything is complete I will change the home.php back to index.php (it overrides the .html) and redirect all the html pages to the WP site.

    Hope this helps somebody.,

    Andrea, what do you mean by
    ” when you look at the sub sites, you’ll still see the main index.html. you can go right to subsite.yourdomain.com.index.php though” ?
    Could you explain it for a wordpress beginner ?

    Typo. 🙂 Go to subsite.yourdomain.com/index.php

    I changed the index.php to home.php so I have both the html site and WP site up. The only way someone can access the WP site is if they type in domain.com/home.php which is doubtful.

    After I finish the site, I am going to create the Multisite install, and create my subdirectory.

    Once that site is finished and everything is complete I will change the home.php back to index.php (it overrides the .html) and redirect all the html pages to the WP site.

    The sub sites will spazz ut because they are going to look for index.php.

    You can change the php file having precidence on your server or ask your host to.

    Thread Starter RainbowSmile

    (@rainbowsmile)

    Oh okay, would you be able to tell me how to change it myself? I have a VPS server using Plesk.

    Thank you for helping me.

    Thread Starter RainbowSmile

    (@rainbowsmile)

    Thank you Andrea. Last question (sorry I am still new to all this server/database stuff). How/Where do I access this?

    Do I do it on the server or via FTP?
    Where do I find /etc/httpd/conf.d/php.conf?

    Thank you again.

    Deep in apache, so command line / ssh. 🙂 Your host can still help, most vps places do.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Installing WP Multisite whilst existing .html site is online’ is closed to new replies.