Hi there peers! Anyone around who knows an easy approach to serve both a WordPress and a static/php website at the same time?
I've just created a WP website with EE command
ee site create mydomain.com --wpfc , but I'm not aware about any easy methods to accomplish it. While I'm still working on the content for my WordPress website, I'd like to display a HTML landing page.
I know there are a few maintenance mode WP plugins out there, but if I use them I wouldn't be able to serve my static html landing page.
In order to serve a static website while still having wordpress installed, I've tweaked my website's conf file under
/etc/nginx/sites-enabled/ so when I want to serve a static website, I just comment out the included conf files related to WordPress and point the website root to another directory such as
This solves the problem of serving a static website, but it also locks me out of my wordpress website.
Thanks in advance.