Landing / Static HTML page

Just name the landing page file index.html and place it (and any assets) in the root directory, then add this to your .htaccess (assuming you’re using Apache):

DirectoryIndex index.html index.php

When accessing http://example.com, Apache will serve index.html. WordPress will scoop up all other requests with it’s rewrite rules.

Leave a Comment