WordPress redirect to static index.html page while keeping sub-pages intact?

WordPress newbie here and building on this, I have a similar problem to the question asked here:

under construction page on index while working with WordPress on root folder

Read More

Working with WordPress for the first time for a client. They have been using WordPress (installed by another designer whom they’ve lost touch with) and want to return to having a static html page, but want to keep the ability to log in and make subpages for their clients. The subpages wouldn’t be private pages, but rather “if you know it’s there and have the link” kind of pages.

Currently they have www.domain.com go to index.php but want it to redirect to a separate, static index.html design I’ve created for them. Is this possible to do in the .htaccess file without disrupting the rest of the WordPress set up? I fear breaking something and being unable to fix it and losing what they have so far. Currently reading up on WP and watching every video tutorial I can to learn more!

Thanks for your help!

Related posts

Leave a Reply

1 comment

  1. If you put this line at the top of the .htaccess file:

    DirectoryIndex index.html index.php
    

    It will swap the order in which Apache prioritises the files.