Site under construction page while working with WordPress
-
Greetings all.
I’d like to have a static (non-Wordpress) html page that site visitors will see if they browse to my domain–an “under construction” page.
At the same time, I want to be able to get to my WordPress site so I can continue to make changes and see the results. So, browsing to https://www.mydomain.com/index.php would bring up my WordPress site, but https://www.mydomain.com would bring up the static HTML “under construction” page.
I’ve tried adding “DirectoryIndex index.htm index.php” and also “DirectoryIndex index.htm” to the .htaccess file in the WordPress root directory. But, it seems that WordPress ignores that directive and displays index.php instead which brings up the WordPress site.
Does anyone have a solution to this problem?
Thanks
NorthK
- The topic ‘Site under construction page while working with WordPress’ is closed to new replies.