Forums

[resolved] HTML front page (4 posts)

  1. dgalfano
    Member
    Posted 4 months ago #

    I'm using WP Multi Site so I can't put WP files in it's own directory. However, we want to have an HTML static home page (no wordpress code in it). How can I have this HTML page be the default home page?

    I've tried adding

    DirectoryIndex splash.php

    to the .htacess, which makes this page the default page, but when I click on links on this page (i.e. site1.domain.com), it changes the URL, but the page is still splash.php.

    Thanks!

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

    Why not make a static front page on your main site?

  3. dgalfano
    Member
    Posted 4 months ago #

    Yeah, but I wasn't thinking inside WP. I was thinking stand-alone HTML file outside of WP environment/files on server.

    So I just created a page-home.php template in the main site theme and put in all the HTML, created a page in the main site and linked up that template. Done.

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

    Yeah. it's more trouble than it's worth to do it outside WP :)

Reply

You must log in to post.

About this Topic